StereoSound core setting fixed (was not used after core initliazation

This commit is contained in:
Asnivor 2018-03-13 19:01:13 +00:00
parent 9778cc2644
commit 6c01ba3c6a
1 changed files with 3 additions and 1 deletions

View File

@ -102,6 +102,8 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
SoundMixer = new SoundProviderMixer((int)(32767 / 10), (ISoundProvider)_machine.BuzzerDevice);
if (_machine.AYDevice != null)
SoundMixer.AddSource(_machine.AYDevice);
SoundMixer.Stereo = ((ZXSpectrumSettings)settings as ZXSpectrumSettings).StereoSound;
ser.Register<ISoundProvider>(SoundMixer);