TEMP: Stuff that seems to make the game more stable.

This commit is contained in:
Jean-Philip Desjardins 2023-07-23 09:55:49 -04:00
parent 4f1344447a
commit a3aa934500
2 changed files with 2 additions and 2 deletions

View file

@ -188,7 +188,7 @@ private:
enum
{
DST_SAMPLE_RATE = 44100,
SAMPLES_PER_UPDATE = 45, //44100 / 45 -> 980 SPU updates per second
SAMPLES_PER_UPDATE = 10, //44100 / 10 -> 4410 SPU updates per second
SPU_UPDATE_TICKS_PRECISION = 32,
BLOCK_SIZE = SAMPLES_PER_UPDATE * 2,
MAX_BLOCK_COUNT = 400,

View file

@ -49,7 +49,7 @@ void CTimer::Count(unsigned int ticks)
case MODE_CLOCK_SELECT_EXTERNAL:
{
assert(m_gs);
uint32 hSyncFreq = m_gs->GetCrtHSyncFrequency();
uint32 hSyncFreq = m_gs->GetCrtHSyncFrequency() / 2;
divider = PS2::EE_CLOCK_FREQ / hSyncFreq;
}
break;