mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 02:36:27 +01: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:
parent
46cc57ba33
commit
940f41f593
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user