[Scummvm-cvs-logs] SF.net SVN: scummvm:[49763] scummvm/trunk/engines/scumm/saveload.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Jun 15 12:46:04 CEST 2010


Revision: 49763
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49763&view=rev
Author:   sev
Date:     2010-06-15 10:46:04 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
SCUMM: Fix bug #1879604.

Bug 1879604: "MANIACNES: Music not played when loading game".
Actually previous attempt to fix this bug was not successful
since first entry of script 5 does not have needed functionality.
Now we resume music manually.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/saveload.cpp

Modified: scummvm/trunk/engines/scumm/saveload.cpp
===================================================================
--- scummvm/trunk/engines/scumm/saveload.cpp	2010-06-15 10:45:43 UTC (rev 49762)
+++ scummvm/trunk/engines/scumm/saveload.cpp	2010-06-15 10:46:04 UTC (rev 49763)
@@ -577,6 +577,10 @@
 	// Fixes bug #1766072: MANIACNES: Music Doesn't Start On Load Game
 	if (_game.platform == Common::kPlatformNES) {
 		runScript(5, 0, 0, 0);
+
+		if (VAR(224)) {
+			_sound->addSoundToQueue(VAR(224));
+		}
 	}
 
 	return true;


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