aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-09-17 20:02:49 +0000
committerJohannes Schickel2010-09-17 20:02:49 +0000
commita6a49b284a43ba04a6b00dd0157daae050074c3e (patch)
tree38aabf1867f73e8684bbde47e14e057f80ddc738
parentd477d66f49fb37609b6a989425603d470cb09245 (diff)
downloadscummvm-rg350-a6a49b284a43ba04a6b00dd0157daae050074c3e.tar.gz
scummvm-rg350-a6a49b284a43ba04a6b00dd0157daae050074c3e.tar.bz2
scummvm-rg350-a6a49b284a43ba04a6b00dd0157daae050074c3e.zip
CMS: Change an incorrect error into debug output.
svn-id: r52780
-rw-r--r--sound/softsynth/cms.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/softsynth/cms.cpp b/sound/softsynth/cms.cpp
index 271268a6d9..18eb663ca7 100644
--- a/sound/softsynth/cms.cpp
+++ b/sound/softsynth/cms.cpp
@@ -27,6 +27,7 @@
#include "common/textconsole.h"
#include "common/translation.h"
+#include "common/debug.h"
// CMS/Gameblaster Emulation taken from DosBox
@@ -338,8 +339,10 @@ void CMSEmulator::portWriteIntern(int chip, int offset, int data) {
}
break;
- default: /* Error! */
- error("CMS Unkown write to reg %x with %x",reg, data);
+ default:
+ // The CMS allows all registers to be written, so we just output some debug
+ // message here
+ debug(5, "CMS Unkown write to reg %x with %x",reg, data);
}
}