mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-27 17:39:41 -06:00
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:
@ -492,9 +492,12 @@ void EmuInstance::audioUpdateSettings()
|
||||
{
|
||||
micClose();
|
||||
|
||||
if (nds != nullptr)
|
||||
{
|
||||
int audiointerp = globalCfg.GetInt("Audio.Interpolation");
|
||||
nds->SPU.SetInterpolation(static_cast<AudioInterpolation>(audiointerp));
|
||||
setupMicInputData();
|
||||
}
|
||||
|
||||
micOpen();
|
||||
}
|
||||
|
Reference in New Issue
Block a user