Add SPU Precompilation to Create PPU Cache

This commit is contained in:
Elad Ashkenazi 2023-08-28 15:40:18 +03:00
parent 7144e92ce2
commit 105c5759f3
8 changed files with 56 additions and 28 deletions

View file

@ -2112,7 +2112,14 @@ void ppu_thread::cpu_task()
#endif
cmd_pop();
ppu_initialize(), spu_cache::initialize();
ppu_initialize();
if (Emu.IsStopped())
{
return;
}
spu_cache::initialize();
#ifdef __APPLE__
pthread_jit_write_protect_np(true);