From a9b5d5e2bb2109b4ae08971421623c60df67a223 Mon Sep 17 00:00:00 2001 From: agent-q Date: Sat, 21 May 2011 15:46:59 +0100 Subject: DS: Fix some OPL data which was incorrectly freed from the main heap on the DS port --- audio/softsynth/opl/mame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/softsynth/opl/mame.cpp b/audio/softsynth/opl/mame.cpp index 5d790f924f..e47529aad4 100644 --- a/audio/softsynth/opl/mame.cpp +++ b/audio/softsynth/opl/mame.cpp @@ -757,8 +757,10 @@ static int OPLOpenTable(void) { } static void OPLCloseTable(void) { +#ifndef __DS__ free(TL_TABLE); free(SIN_TABLE); +#endif free(AMS_TABLE); free(VIB_TABLE); free(ENV_CURVE); -- cgit v1.2.3