mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 22:40:18 +00:00
fixup! T16: Implement IT
This commit is contained in:
parent
e870d4e089
commit
fbf224e023
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ namespace ARMeilleure.Translation
|
||||||
public bool HighCq { get; }
|
public bool HighCq { get; }
|
||||||
public Aarch32Mode Mode { get; }
|
public Aarch32Mode Mode { get; }
|
||||||
|
|
||||||
public bool IsInIfThenBlock { get { return IfThenBlockState.Length > 0; } }
|
public bool IsInIfThenBlock { get { return IfThenBlockState != null && IfThenBlockState.Length > 0; } }
|
||||||
public Condition CurrentIfThenBlockCond { get { return IfThenBlockState[0]; } }
|
public Condition CurrentIfThenBlockCond { get { return IfThenBlockState[0]; } }
|
||||||
public Condition[] IfThenBlockState { get; set; }
|
public Condition[] IfThenBlockState { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -380,7 +380,7 @@ namespace ARMeilleure.Translation
|
||||||
|
|
||||||
Operand lblPredicateSkip = default;
|
Operand lblPredicateSkip = default;
|
||||||
|
|
||||||
if (context.IsInIfThenBlock)
|
if (context.IsInIfThenBlock && context.CurrentIfThenBlockCond != Condition.Al)
|
||||||
{
|
{
|
||||||
lblPredicateSkip = Label();
|
lblPredicateSkip = Label();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue