Counters: Adjust SPU async rate

Back to original value, however modified how the next SPU2 sync value is applied
This commit is contained in:
refractionpcsx2 2021-01-02 21:27:09 +00:00
parent f5e50d4571
commit a679766740
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,7 @@ void psxRcntInit()
psxCounters[4].interrupt = 0x08000;
psxCounters[5].interrupt = 0x10000;
psxCounters[6].rate = 768; // One SPU tick
psxCounters[6].rate = 768 * 12; // 12 SPU ticks. 768 would be ideal but some games slow down internally for some reason
psxCounters[6].CycleT = psxCounters[6].rate;
psxCounters[6].mode = 0x8;
@ -509,6 +509,7 @@ void psxRcntUpdate()
psxCounters[6].sCycleT = psxRegs.cycle;
psxCounters[6].CycleT = psxCounters[6].rate;
SPU2async(difference);
c = psxCounters[6].CycleT;
}
else
c -= difference;