mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 15:05:42 -04:00
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);
|
||||
|
||||
Voice& voice = m_voices[voice_index];
|
||||
if (voice.IsOn())
|
||||
if (voice.IsOn() || m_key_on_register & (1u << voice_index))
|
||||
m_tick_event->InvokeEarly();
|
||||
|
||||
switch (reg_index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user