mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #1089 from FioraAeterna/fixemittersilentfail
x64Emitter: fix silent failure if WriteNormalOp is passed two memory operands
This commit is contained in:
commit
847f78e4cc
@ -1222,6 +1222,7 @@ void XEmitter::WriteNormalOp(XEmitter *emit, int bits, NormalOp op, const OpArg
|
||||
}
|
||||
else
|
||||
{
|
||||
_assert_msg_(DYNA_REC, a2.IsSimpleReg() || a2.IsImm(), "WriteNormalOp - a1 and a2 cannot both be memory");
|
||||
a1.WriteNormalOp(emit, true, op, a2, bits);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user