diff options
author | agent-q | 2011-05-21 15:46:59 +0100 |
---|---|---|
committer | agent-q | 2011-05-21 15:46:59 +0100 |
commit | a9b5d5e2bb2109b4ae08971421623c60df67a223 (patch) | |
tree | f5581863d77371a9922d46b127ab4aa00cb4bcf6 | |
parent | 92a71f7452b83b5491ba0862d8da9f23055fd5bd (diff) | |
download | scummvm-rg350-a9b5d5e2bb2109b4ae08971421623c60df67a223.tar.gz scummvm-rg350-a9b5d5e2bb2109b4ae08971421623c60df67a223.tar.bz2 scummvm-rg350-a9b5d5e2bb2109b4ae08971421623c60df67a223.zip |
DS: Fix some OPL data which was incorrectly freed from the main heap on the DS port
-rw-r--r-- | audio/softsynth/opl/mame.cpp | 2 |
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); |