aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorChris Apers2007-09-01 19:13:04 +0000
committerChris Apers2007-09-01 19:13:04 +0000
commit500481c4ec684bc943ea5e4c30786bec49871629 (patch)
tree97d4899c4a80107d96b9d22dd005eb45935ac538 /sound
parent88b74c5c91478ea017fa247a2f92fab957257122 (diff)
downloadscummvm-rg350-500481c4ec684bc943ea5e4c30786bec49871629.tar.gz
scummvm-rg350-500481c4ec684bc943ea5e4c30786bec49871629.tar.bz2
scummvm-rg350-500481c4ec684bc943ea5e4c30786bec49871629.zip
Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
Diffstat (limited to 'sound')
-rw-r--r--sound/fmopl.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp
index 5b228d0fc4..9cf604ba49 100644
--- a/sound/fmopl.cpp
+++ b/sound/fmopl.cpp
@@ -183,11 +183,8 @@ static int *VIB_TABLE;
/* envelope output curve table */
/* attack + decay + OFF */
//static int ENV_CURVE[2*EG_ENT+1];
-#ifndef PALMOS_68K
static int ENV_CURVE[2 * 4096 + 1]; // to keep it static ...
-#else
-static int *ENV_CURVE = NULL; // to keep it static ...
-#endif
+
/* multiple table */
#define ML(a) (int)(a * 2)
@@ -636,11 +633,6 @@ static int OPLOpenTable(void) {
int i,j;
double pom;
-#ifdef PALMOS_68K
- if (!ENV_CURVE)
- ENV_CURVE = (int *)calloc(2 * 4096 + 1, sizeof(int));
-#endif
-
#ifdef __DS__
DS::fastRamReset();
@@ -732,10 +724,6 @@ static void OPLCloseTable(void) {
free(SIN_TABLE);
free(AMS_TABLE);
free(VIB_TABLE);
-#ifdef PALMOS_68K
- free(ENV_CURVE);
- ENV_CURVE = NULL;
-#endif
}
/* CSM Key Controll */