From 2a01e01e780ec83f54ef94ae230ae311fbf06179 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sat, 8 Sep 2012 01:15:16 +0000 Subject: [PATCH] clean up resampler with rest of libsnes --- BizHawk.Emulation/Consoles/Nintendo/SNES/LibsnesCore.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BizHawk.Emulation/Consoles/Nintendo/SNES/LibsnesCore.cs b/BizHawk.Emulation/Consoles/Nintendo/SNES/LibsnesCore.cs index 81ee40db3e..33cfc66cf8 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/SNES/LibsnesCore.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/SNES/LibsnesCore.cs @@ -191,6 +191,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo.SNES BizHawk.Emulation.Consoles.Nintendo.SNES.LibsnesDll.snes_set_audio_sample(null); LibsnesDll.snes_term(); + + resampler.Dispose(); } //we can only have one active snes core at a time, due to libsnes being so static.