aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/opl
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/opl')
-rw-r--r--audio/softsynth/opl/mame.cpp2
1 files changed, 2 insertions, 0 deletions
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);