Restore XREF only function handler, seems like it was too early to remove this

This commit is contained in:
Luke Usher 2016-11-26 21:19:02 +00:00
parent 053781afd9
commit eebf17ac23
1 changed files with 5 additions and 1 deletions

View File

@ -776,7 +776,11 @@ static void EmuInstallWrappers(OOVPATable *OovpaTable, uint32 OovpaTableSize, Xb
DbgPrintf("HLE: 0x%.08X -> %s\n", pFunc, OovpaTable[a].szFuncName);
#endif
if(OovpaTable[a].lpRedirect != 0)
if(OovpaTable[a].lpRedirect == 0)
{
EmuInstallWrapper(pFunc, EmuXRefFailure);
}
else
{
EmuInstallWrapper(pFunc, OovpaTable[a].lpRedirect);
funcExclude[fcount++] = (uint32)pFunc;