[Scummvm-cvs-logs] SF.net SVN: scummvm:[35102] scummvm/trunk/engines/kyra/sound_towns.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Mon Nov 17 00:19:54 CET 2008


Revision: 35102
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35102&view=rev
Author:   athrxx
Date:     2008-11-16 23:19:54 +0000 (Sun, 16 Nov 2008)

Log Message:
-----------
fixed bug

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sound_towns.cpp

Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp	2008-11-16 20:59:04 UTC (rev 35101)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp	2008-11-16 23:19:54 UTC (rev 35102)
@@ -2644,7 +2644,7 @@
 	if (!_ready)
 		return;
 
-	if (address > 10) {
+	if (address > 10 || *_reg[address] == value) {
 		if ((address == 11 || address == 12 || address == 13) && value)
 			warning("TownsPC98_OpnSquareSineSource: unsupported reg address: %d", address);
 		return;


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