Remove unrelated function during rom load

This commit is contained in:
retro-wertz 2018-06-16 00:50:40 +08:00 committed by Rafael Kitover
parent 3c0e88bcdf
commit 50e91f7973
1 changed files with 0 additions and 4 deletions

View File

@ -274,12 +274,8 @@ void GameArea::LoadGame(const wxString& name)
doMirroring(mirroringEnable);
// start sound; this must happen before CPU stuff
gb_effects_config.echo = (float)gopts.gb_echo / 100.0;
gb_effects_config.stereo = (float)gopts.gb_stereo / 100.0;
gbSoundSetDeclicking(gopts.gb_declick);
soundInit();
soundSetEnable(gopts.sound_en);
gbSoundSetSampleRate(!gopts.sound_qual ? 48000 : 44100 / (1 << (gopts.sound_qual - 1)));
soundSetSampleRate(!gopts.sound_qual ? 48000 : 44100 / (1 << (gopts.sound_qual - 1)));
soundSetVolume((float)gopts.sound_vol / 100.0);
// this **MUST** be called **AFTER** setting sample rate because the core calls soundInit()