Fix LoadState audio issue with Fixed Audio Timing
When Fixed Audio Timing was enabled and AI count per byte = 0, the frequency was not being properly set, after loading a save state.
This commit is contained in:
parent
1052840b0b
commit
9dda9171d0
|
@ -1747,6 +1747,11 @@ bool CN64System::LoadState(LPCSTR FileName)
|
|||
g_Reg->MI_INTR_REG |= MI_INTR_AI;
|
||||
}
|
||||
|
||||
if (bFixedAudio())
|
||||
{
|
||||
m_Audio.SetFrequency(m_Reg.AI_DACRATE_REG, g_System->SystemType());
|
||||
}
|
||||
|
||||
//Fix Random Register
|
||||
while ((int)m_Reg.RANDOM_REGISTER < (int)m_Reg.WIRED_REGISTER)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue