Merge pull request #6918 from lioncash/cast

Interpreter_LoadStore: Remove unnecessary cast in lhzx()
This commit is contained in:
Léo Lam 2018-05-20 20:21:16 +02:00 committed by GitHub
commit 5ce1b83d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -673,7 +673,7 @@ void Interpreter::lhzux(UGeckoInstruction inst)
void Interpreter::lhzx(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)) if (!(PowerPC::ppcState.Exceptions & EXCEPTION_DSI))
{ {