Interpreter_LoadStore: Remove unnecessary cast in lhzx()

This is only moving a smaller unsigned integral type into a larger
unsigned integral type, so there's no loss of information that could
occur.
This commit is contained in:
Lioncash 2018-05-20 14:06:54 -04:00
parent 46cc57ba33
commit 940f41f593

View File

@ -673,7 +673,7 @@ void Interpreter::lhzux(UGeckoInstruction inst)
void Interpreter::lhzx(UGeckoInstruction inst)
{
const u32 temp = (u32)PowerPC::Read_U16(Helper_Get_EA_X(inst));
const u32 temp = PowerPC::Read_U16(Helper_Get_EA_X(inst));
if (!(PowerPC::ppcState.Exceptions & EXCEPTION_DSI))
{