[Scummvm-cvs-logs] SF.net SVN: scummvm: [29242] scummvm/trunk/engines/parallaction

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Oct 21 21:27:18 CEST 2007


Revision: 29242
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29242&view=rev
Author:   peres001
Date:     2007-10-21 12:27:15 -0700 (Sun, 21 Oct 2007)

Log Message:
-----------
Now stopping music when loading a game in Amiga versions of Nippon Safes.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/callables_ns.cpp
    scummvm/trunk/engines/parallaction/saveload.cpp

Modified: scummvm/trunk/engines/parallaction/callables_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables_ns.cpp	2007-10-21 15:41:21 UTC (rev 29241)
+++ scummvm/trunk/engines/parallaction/callables_ns.cpp	2007-10-21 19:27:15 UTC (rev 29242)
@@ -539,6 +539,8 @@
 	}
 	debugC(1, kDebugExec, "endIntro(): done showing credits");
 
+	_soundMan->stopMusic();
+
 	if ((getFeatures() & GF_DEMO) == 0) {
 		_gfx->displayCenteredString(80, "CLICK MOUSE BUTTON TO START");
 		_gfx->updateScreen();

Modified: scummvm/trunk/engines/parallaction/saveload.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/saveload.cpp	2007-10-21 15:41:21 UTC (rev 29241)
+++ scummvm/trunk/engines/parallaction/saveload.cpp	2007-10-21 19:27:15 UTC (rev 29242)
@@ -31,6 +31,7 @@
 #include "gui/message.h"
 
 #include "parallaction/parallaction.h"
+#include "parallaction/sound.h"
 
 
 /* Nippon Safes savefiles are called 'game.0' to 'game.9'. The game conventiently allows users to
@@ -79,6 +80,8 @@
 
 void Parallaction_ns::doLoadGame(uint16 slot) {
 
+	_soundMan->stopMusic();
+
 	_introSarcData3 = 200;
 	_introSarcData2 = 1;
 


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