Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a typo in ArmEmitter noticed by LionCash.
  • Loading branch information
Sonicadvance1 committed Mar 18, 2013
1 parent 12f5f10 commit 7d74293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/ArmEmitter.cpp
Expand Up @@ -903,7 +903,7 @@ void ARMXEmitter::WriteVFPDataOp(u32 Op, ARMReg Vd, ARMReg Vn, ARMReg Vm)
bool double_reg = Vd >= D0 && Vd < Q0;

VFPEnc enc = VFPOps[Op][quad_reg];
if (enc.opc1 == -1 && enc.opc1 == -1)
if (enc.opc1 == -1 && enc.opc2 == -1)
_assert_msg_(DYNA_REC, false, "%s does not support %s", VFPOpNames[Op], quad_reg ? "NEON" : "VFP");
u32 VdEnc = EncodeVd(Vd);
u32 VnEnc = EncodeVn(Vn);
Expand Down

0 comments on commit 7d74293

Please sign in to comment.