mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
SPU: properly support STOP 0x0 instruction
This commit is contained in:
parent
0f87c6c7c3
commit
98a8eeaac2
2 changed files with 12 additions and 0 deletions
|
@ -1076,6 +1076,12 @@ void spu_recompiler_base::dispatch(spu_thread& spu, void*, u8* rip)
|
|||
spu.jit->init();
|
||||
|
||||
// Compile
|
||||
if (spu._ref<u32>(spu.pc) == 0)
|
||||
{
|
||||
spu_runtime::g_escape(&spu);
|
||||
return;
|
||||
}
|
||||
|
||||
const auto func = spu.jit->compile(spu.jit->analyse(spu._ptr<u32>(0), spu.pc));
|
||||
|
||||
if (!func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue