[Scummvm-cvs-logs] SF.net SVN: scummvm:[52780] scummvm/trunk/sound/softsynth/cms.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Sep 17 22:02:49 CEST 2010


Revision: 52780
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52780&view=rev
Author:   lordhoto
Date:     2010-09-17 20:02:49 +0000 (Fri, 17 Sep 2010)

Log Message:
-----------
CMS: Change an incorrect error into debug output.

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/cms.cpp

Modified: scummvm/trunk/sound/softsynth/cms.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/cms.cpp	2010-09-17 20:02:29 UTC (rev 52779)
+++ scummvm/trunk/sound/softsynth/cms.cpp	2010-09-17 20:02:49 UTC (rev 52780)
@@ -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 @@
 			}
 			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);
 	}
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list