From 1bd87f5a792888da1bcf7f237083825240e15b9c Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Fri, 7 Apr 2017 16:09:51 -0700 Subject: [PATCH] CachedInterpreter: fix HLEFunction argument --- .../Core/Core/PowerPC/CachedInterpreter/CachedInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);