aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */