Don't try to change the core's audio interp setting when the emu
instance has no core yet. Fixes #2352
This commit is contained in:
parent
c65d490351
commit
d7a4b2e8fe
|
@ -492,9 +492,12 @@ void EmuInstance::audioUpdateSettings()
|
|||
{
|
||||
micClose();
|
||||
|
||||
int audiointerp = globalCfg.GetInt("Audio.Interpolation");
|
||||
nds->SPU.SetInterpolation(static_cast<AudioInterpolation>(audiointerp));
|
||||
setupMicInputData();
|
||||
if (nds != nullptr)
|
||||
{
|
||||
int audiointerp = globalCfg.GetInt("Audio.Interpolation");
|
||||
nds->SPU.SetInterpolation(static_cast<AudioInterpolation>(audiointerp));
|
||||
setupMicInputData();
|
||||
}
|
||||
|
||||
micOpen();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue