Remove unrelated function during rom load
This commit is contained in:
parent
3c0e88bcdf
commit
50e91f7973
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue