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();
|
micClose();
|
||||||
|
|
||||||
int audiointerp = globalCfg.GetInt("Audio.Interpolation");
|
if (nds != nullptr)
|
||||||
nds->SPU.SetInterpolation(static_cast<AudioInterpolation>(audiointerp));
|
{
|
||||||
setupMicInputData();
|
int audiointerp = globalCfg.GetInt("Audio.Interpolation");
|
||||||
|
nds->SPU.SetInterpolation(static_cast<AudioInterpolation>(audiointerp));
|
||||||
|
setupMicInputData();
|
||||||
|
}
|
||||||
|
|
||||||
micOpen();
|
micOpen();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user