mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Savestates/SPU: Partially publicize SPU-Compatible functionality
This commit is contained in:
parent
7285af4771
commit
9a3b72f762
1 changed files with 12 additions and 1 deletions
|
@ -2932,7 +2932,18 @@ public:
|
|||
case SPU_RdInMbox:
|
||||
case SPU_RdEventStat:
|
||||
{
|
||||
if (g_cfg.savestate.compatible_mode)
|
||||
bool loop_is_likely = op.ra == SPU_RdSigNotify1 || op.ra == SPU_RdSigNotify2;
|
||||
|
||||
for (u32 block_start : m_block->bb->preds)
|
||||
{
|
||||
if (block_start >= m_pos)
|
||||
{
|
||||
loop_is_likely = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (loop_is_likely || g_cfg.savestate.compatible_mode)
|
||||
{
|
||||
ensure_gpr_stores();
|
||||
check_state(m_pos, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue