summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-04-08 17:17:28 -0400
committerGitHub <noreply@github.com>2017-04-08 17:17:28 -0400
commit579b7538e748bf7eb24ecfef15c3aa48d7346a3f (patch)
treeb87016f231ce4ee7ad8fb7bd0c476599f171b0a3 /Source/Core
parentab18eba9def8dd50cb80515733a75594aa225cf7 (diff)
parent1bd87f5a792888da1bcf7f237083825240e15b9c (diff)
Merge pull request #5224 from ligfx/cachedinterpreterhle
CachedInterpreter: fix HLEFunction argument
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/CachedInterpreter/CachedInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/CachedInterpreter/CachedInterpreter.cpp b/Source/Core/Core/PowerPC/CachedInterpreter/CachedInterpreter.cpp
index 313e102f5c..4bd0b57811 100644
--- a/Source/Core/Core/PowerPC/CachedInterpreter/CachedInterpreter.cpp
+++ b/Source/Core/Core/PowerPC/CachedInterpreter/CachedInterpreter.cpp
@@ -215,7 +215,7 @@ void CachedInterpreter::Jit(u32 address)
if (HLE::IsEnabled(flags))
{
m_code.emplace_back(WritePC, ops[i].address);
- m_code.emplace_back(Interpreter::HLEFunction, ops[i].inst);
+ m_code.emplace_back(Interpreter::HLEFunction, function);
if (type == HLE::HLE_HOOK_REPLACE)
{
m_code.emplace_back(EndBlock, js.downcountAmount);