Fix HLE_HOOK_START in the interpreter.

This commit is contained in:
comex 2013-09-13 18:11:53 -04:00
parent e62bc44f15
commit e15e30602c
1 changed files with 11 additions and 1 deletions

View File

@ -106,10 +106,20 @@ int Interpreter::SingleStepInner(void)
if (HLE::IsEnabled(flags))
{
HLEFunction(function);
if (type == HLE::HLE_HOOK_START)
{
// Run the original.
function = 0;
}
}
else
{
function = 0;
}
}
}
else
if (function == 0)
{
#ifdef USE_GDBSTUB
if (gdb_active() && gdb_bp_x(PC)) {