diff --git a/src/core/spu.cpp b/src/core/spu.cpp index bb835d797..ce20fbc24 100644 --- a/src/core/spu.cpp +++ b/src/core/spu.cpp @@ -1474,10 +1474,10 @@ std::tuple SPU::SampleVoice(u32 voice_index) // handle flags if (voice.current_block_flags.loop_end) { + m_endx_register |= (u32(1) << voice_index); if (!voice.current_block_flags.loop_repeat) { Log_TracePrintf("Voice %u loop end+mute @ 0x%08X", voice_index, ZeroExtend32(voice.current_address)); - m_endx_register |= (u32(1) << voice_index); voice.ForceOff(); } else