mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Hack for 0x0
This commit is contained in:
parent
763550c472
commit
8891d85f75
1 changed files with 16 additions and 0 deletions
|
@ -1058,6 +1058,22 @@ bool SPUThread::stop_and_signal(u32 code)
|
|||
|
||||
switch (code)
|
||||
{
|
||||
case 0x000:
|
||||
{
|
||||
// Hack: wait for an instruction become available
|
||||
while (vm::ps3::read32(offset + pc) == 0)
|
||||
{
|
||||
if (test(state) && check_state())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
thread_ctrl::wait_for(1000);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
case 0x001:
|
||||
{
|
||||
thread_ctrl::wait_for(1000); // hack
|
||||
|
|
Loading…
Add table
Reference in a new issue