aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.cpp
diff options
context:
space:
mode:
authorChris Apers2005-10-12 19:47:15 +0000
committerChris Apers2005-10-12 19:47:15 +0000
commit797b6e5a7c8cf51a1b9aacb3f0e756f8a972148b (patch)
treed401019e50ae4205ea26b6497c1e4a149fd023d6 /sound/fmopl.cpp
parent48ed1b4073dbcbbe22f86ae1bce9f4a44609f139 (diff)
downloadscummvm-rg350-797b6e5a7c8cf51a1b9aacb3f0e756f8a972148b.tar.gz
scummvm-rg350-797b6e5a7c8cf51a1b9aacb3f0e756f8a972148b.tar.bz2
scummvm-rg350-797b6e5a7c8cf51a1b9aacb3f0e756f8a972148b.zip
PalmOS ARM too
svn-id: r19040
Diffstat (limited to 'sound/fmopl.cpp')
-rw-r--r--sound/fmopl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp
index 9918535be0..521dd4b9b8 100644
--- a/sound/fmopl.cpp
+++ b/sound/fmopl.cpp
@@ -34,7 +34,7 @@
#include "common/util.h"
-#if defined (_WIN32_WCE)|| defined (__SYMBIAN32__)
+#if defined (_WIN32_WCE) || defined (__SYMBIAN32__) || defined(PALMOS_ARM)
#include "common/config-manager.h"
#endif
@@ -1167,7 +1167,7 @@ FM_OPL *makeAdlibOPL(int rate) {
// We need to emulate one YM3812 chip
int env_bits = FMOPL_ENV_BITS_HQ;
int eg_ent = FMOPL_EG_ENT_HQ;
-#if defined (_WIN32_WCE)|| defined(__SYMBIAN32__)
+#if defined (_WIN32_WCE) || defined(__SYMBIAN32__) || defined(PALMOS_ARM)
if (ConfMan.hasKey("FM_high_quality") && ConfMan.getBool("FM_high_quality")) {
env_bits = FMOPL_ENV_BITS_HQ;
eg_ent = FMOPL_EG_ENT_HQ;
@@ -1200,4 +1200,3 @@ FM_OPL *makeAdlibOPL(int rate) {
OPLBuildTables(env_bits, eg_ent);
return OPLCreate(OPL_TYPE_YM3812, 3579545, rate);
}
-