SPU: Run SPU when changing regs on voice pending key-on
Fixes menu/cursor sounds with different frequencies in Final Fantasy 7.
This commit is contained in:
parent
03080351c8
commit
1eecd50f3d
|
@ -557,7 +557,7 @@ void SPU::WriteVoiceRegister(u32 offset, u16 value)
|
||||||
Assert(voice_index < 24);
|
Assert(voice_index < 24);
|
||||||
|
|
||||||
Voice& voice = m_voices[voice_index];
|
Voice& voice = m_voices[voice_index];
|
||||||
if (voice.IsOn())
|
if (voice.IsOn() || m_key_on_register & (1u << voice_index))
|
||||||
m_tick_event->InvokeEarly();
|
m_tick_event->InvokeEarly();
|
||||||
|
|
||||||
switch (reg_index)
|
switch (reg_index)
|
||||||
|
|
Loading…
Reference in New Issue