mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
TEMP: Stuff that seems to make the game more stable.
This commit is contained in:
parent
4f1344447a
commit
a3aa934500
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue