mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
rsx: Compile shaders when CELL is not running
This commit is contained in:
parent
dea1d01de2
commit
1e71deb0db
4 changed files with 44 additions and 24 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue