mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 22:18:58 +01:00
x64Emitter: assert instead of crashing when generating MOVZX with a wrong size
This commit is contained in:
parent
b1738b60fc
commit
f99f302c91
@ -833,7 +833,7 @@ void XEmitter::MOVZX(int dbits, int sbits, X64Reg dest, OpArg src)
|
||||
}
|
||||
else
|
||||
{
|
||||
Crash();
|
||||
_assert_msg_(DYNA_REC, 0, "MOVZX - Invalid size");
|
||||
}
|
||||
src.WriteRest(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user