rsx: Compile shaders when CELL is not running

This commit is contained in:
Eladash 2021-03-21 18:55:47 +02:00 committed by Ivan
parent dea1d01de2
commit 1e71deb0db
4 changed files with 44 additions and 24 deletions

View file

@ -943,7 +943,15 @@ void ppu_thread::cpu_task()
}
case ppu_cmd::initialize:
{
cmd_pop(), ppu_initialize(), spu_cache::initialize();
cmd_pop();
while (!g_fxo->get<rsx::thread>().is_inited && !is_stopped())
{
// Wait for RSX to be initialized
thread_ctrl::wait_on(g_fxo->get<rsx::thread>().is_inited, false);
}
ppu_initialize(), spu_cache::initialize();
break;
}
case ppu_cmd::sleep: