mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12: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)
|
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:
|
case 0x001:
|
||||||
{
|
{
|
||||||
thread_ctrl::wait_for(1000); // hack
|
thread_ctrl::wait_for(1000); // hack
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue