remove speex use in melonDS (see 5f0e6a2242
for unmanaged side changes)
This commit is contained in:
parent
5f0e6a2242
commit
58beef8a46
|
@ -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<NDSSettings, NDSSyncSettings> 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<ISoundProvider>(_resampler);
|
||||
|
||||
_disassembler = new(_core);
|
||||
_serviceProvider.Register<IDisassemblable>(_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;
|
||||
|
|
Loading…
Reference in New Issue