Merge pull request #5224 from ligfx/cachedinterpreterhle

CachedInterpreter: fix HLEFunction argument
This commit is contained in:
Mat M 2017-04-08 17:17:28 -04:00 committed by GitHub
commit 579b7538e7
1 changed files with 1 additions and 1 deletions

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