mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
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:
@ -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))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user