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