aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorNeil Millstone2006-12-01 22:44:19 +0000
committerNeil Millstone2006-12-01 22:44:19 +0000
commit9c12f89fc73e9090582b6b8e38d62e304cef1743 (patch)
tree7f265ab62acf8000f9ff28030da1ccb650ce2ca8 /sound
parent40d10a5436dcefefb78a7d563f6808b91babf4ab (diff)
downloadscummvm-rg350-9c12f89fc73e9090582b6b8e38d62e304cef1743.tar.gz
scummvm-rg350-9c12f89fc73e9090582b6b8e38d62e304cef1743.tar.bz2
scummvm-rg350-9c12f89fc73e9090582b6b8e38d62e304cef1743.zip
Changed size of sine table so it take less memory in cache RAM on DS port
svn-id: r24800
Diffstat (limited to 'sound')
-rw-r--r--sound/fmopl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp
index 3a78f465eb..b70f684078 100644
--- a/sound/fmopl.cpp
+++ b/sound/fmopl.cpp
@@ -61,7 +61,11 @@ static Common::RandomSource oplRnd; /* OPL random number generator */
/* sinwave entries */
/* used static memory = SIN_ENT * 4 (byte) */
+#ifdef __DS__
+#define SIN_ENT 1024
+#else
#define SIN_ENT 2048
+#endif
/* output level entries (envelope,sinwave) */
/* envelope counter lower bits */