mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
PPU Decoder Cache improved
This commit is contained in:
parent
eb63558c6d
commit
be9a599beb
13 changed files with 118 additions and 467 deletions
|
@ -263,7 +263,10 @@ bool CPUThread::check_status()
|
|||
{
|
||||
CHECK_EMU_STATUS; // check at least once
|
||||
|
||||
if (!is_paused()) break;
|
||||
if (!is_paused() && (m_state.load() & CPU_STATE_INTR) == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
if (!lock)
|
||||
{
|
||||
|
@ -271,6 +274,11 @@ bool CPUThread::check_status()
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!is_paused() && (m_state.load() & CPU_STATE_INTR) != 0 && handle_interrupt())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
cv.wait(lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue