blah blah dispose blah blah
This commit is contained in:
parent
ee963e8d64
commit
129d454a67
|
@ -23,9 +23,15 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
||||||
|
|
||||||
internal CoreComm CoreComm { get; }
|
internal CoreComm CoreComm { get; }
|
||||||
|
|
||||||
|
private bool _disposed;
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
Deinit();
|
if (!_disposed)
|
||||||
|
{
|
||||||
|
Deinit();
|
||||||
|
_resampler.Dispose();
|
||||||
|
_disposed = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool FrameAdvance(IController controller, bool render, bool renderSound = true)
|
public bool FrameAdvance(IController controller, bool render, bool renderSound = true)
|
||||||
|
|
Loading…
Reference in New Issue