Permalink
Browse files

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.
  • Loading branch information...
lioncash committed May 20, 2018
1 parent 46cc57b commit 940f41f593b3b7db213e492cb921f765750a76cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp
@@ -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))
{

0 comments on commit 940f41f

Please sign in to comment.