diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs index 9bb61aac91..d319b61de7 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs @@ -19,7 +19,6 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS { private readonly LibMelonDS _core; private readonly NDSDisassembler _disassembler; - private SpeexResampler _resampler; [CoreConstructor(VSystemID.Raw.NDS)] public NDS(CoreLoadParameters lp) @@ -210,9 +209,6 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS _core.SetThreadStartCallback(_threadstartcb); } - _resampler = new SpeexResampler(SpeexResampler.Quality.QUALITY_DEFAULT, 32768, 44100, 32768, 44100, null, this); - _serviceProvider.Register(_resampler); - _disassembler = new(_core); _serviceProvider.Register(_disassembler); @@ -221,13 +217,6 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS _serviceProvider.Register(Tracer); } - public override void Dispose() - { - base.Dispose(); - _resampler?.Dispose(); - _resampler = null; - } - private static bool RomIsWare(byte[] file) { uint lowerWareTitleId = 0;