SPU: Move the isa selection for reverb resampling

Collect them all in SPU2::InternalReset.
This commit is contained in:
Ziemas
2026-02-12 12:12:07 -05:00
committed by Ty
parent f14e061438
commit a39a0fd268
2 changed files with 2 additions and 3 deletions
+2
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;
-3
View File
@@ -107,9 +107,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;