CPU/Recompiler: Use PGXP interpreter for fallback

Fixes holes in geometry with PGXP enabled in Threads of Fate.
This commit is contained in:
Connor McLaughlin
2021-01-01 17:16:54 +10:00
parent 4e87b30b40
commit c9240eea72
3 changed files with 12 additions and 3 deletions

View File

@ -193,7 +193,7 @@ static void ExecuteImpl()
CodeBlock* block = LookupBlock(next_block_key);
if (!block)
{
InterpretUncachedBlock();
InterpretUncachedBlock<pgxp_mode>();
continue;
}
@ -629,8 +629,10 @@ void FastCompileBlockFunction()
CodeBlock* block = LookupBlock(GetNextBlockKey());
if (block)
s_single_block_asm_dispatcher(block->host_code);
else if (g_settings.gpu_pgxp_enable)
InterpretUncachedBlock<PGXPMode::Memory>();
else
InterpretUncachedBlock();
InterpretUncachedBlock<PGXPMode::Disabled>();
}
#endif