SPU: Move the isa selection for reverb resampling

Collect them all in SPU2::InternalReset.
This commit is contained in:
Ziemas 2025-11-06 21:43:13 +01:00
parent 01bc76e29b
commit cbde6401d2
2 changed files with 2 additions and 3 deletions

View File

@ -220,6 +220,8 @@ bool SPU2::IsAudioCaptureActive()
void SPU2::InternalReset(bool psxmode)
{
spu2Mix = MULTI_ISA_SELECT(spu2Mix);
ReverbDownsample = MULTI_ISA_SELECT(ReverbDownsample);
ReverbUpsample = MULTI_ISA_SELECT(ReverbUpsample);
s_current_chunk_pos = 0;
s_psxmode = psxmode;

View File

@ -105,9 +105,6 @@ void V_Core::Init(int index)
if (SPU2::MsgToConsole())
SPU2::ConLog("* SPU2: Init SPU2 core %d \n", index);
ReverbDownsample = MULTI_ISA_SELECT(ReverbDownsample);
ReverbUpsample = MULTI_ISA_SELECT(ReverbUpsample);
//memset(this, 0, sizeof(V_Core));
// Explicitly initializing variables instead.
Mute = false;