CachedInterpreter: fix HLEFunction argument

This commit is contained in:
Michael Maltese 2017-04-07 16:09:51 -07:00
parent f94cd57a70
commit 1bd87f5a79
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ void CachedInterpreter::Jit(u32 address)
if (HLE::IsEnabled(flags)) if (HLE::IsEnabled(flags))
{ {
m_code.emplace_back(WritePC, ops[i].address); 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) if (type == HLE::HLE_HOOK_REPLACE)
{ {
m_code.emplace_back(EndBlock, js.downcountAmount); m_code.emplace_back(EndBlock, js.downcountAmount);