summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-05-20 20:21:16 +0200
committerGitHub <noreply@github.com>2018-05-20 20:21:16 +0200
commit5ce1b83d97da6dff137d0bb39121cb9bf9fd3b1c (patch)
treebdae4b050c9cde1b81c53a62df1ad638f4061fdf /Source
parenta974c690586d3842297a730865e4ceafa3ac3d75 (diff)
parent940f41f593b3b7db213e492cb921f765750a76cb (diff)
Merge pull request #6918 from lioncash/cast
Interpreter_LoadStore: Remove unnecessary cast in lhzx()
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp
index 901d9feb00..33c8ff4ca6 100644
--- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp
+++ b/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))
{