CachedInterpreter: fix HLEFunction argument

This commit is contained in:
Michael Maltese 2017-04-07 16:09:51 -07:00
parent f94cd57a70
commit 1bd87f5a79

View file

@ -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);