aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-10-21 19:27:15 +0000
committerNicola Mettifogo2007-10-21 19:27:15 +0000
commit14160083e8b418375198552f3d8954696cb4c46a (patch)
tree1bd5a35d531e3c3ebd7cc19329c657a23a53f047 /engines/parallaction
parentaa01449f297dd4c49bd5b852bf27142f28b826ac (diff)
downloadscummvm-rg350-14160083e8b418375198552f3d8954696cb4c46a.tar.gz
scummvm-rg350-14160083e8b418375198552f3d8954696cb4c46a.tar.bz2
scummvm-rg350-14160083e8b418375198552f3d8954696cb4c46a.zip
Now stopping music when loading a game in Amiga versions of Nippon Safes.
svn-id: r29242
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/callables_ns.cpp2
-rw-r--r--engines/parallaction/saveload.cpp3
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp
index d0acd0a425..c6c274b96c 100644
--- a/engines/parallaction/callables_ns.cpp
+++ b/engines/parallaction/callables_ns.cpp
@@ -539,6 +539,8 @@ void Parallaction_ns::_c_endIntro(void *parm) {
}
debugC(1, kDebugExec, "endIntro(): done showing credits");
+ _soundMan->stopMusic();
+
if ((getFeatures() & GF_DEMO) == 0) {
_gfx->displayCenteredString(80, "CLICK MOUSE BUTTON TO START");
_gfx->updateScreen();
diff --git a/engines/parallaction/saveload.cpp b/engines/parallaction/saveload.cpp
index 4258d4ba41..cad2badfb3 100644
--- a/engines/parallaction/saveload.cpp
+++ b/engines/parallaction/saveload.cpp
@@ -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 @@ public:
void Parallaction_ns::doLoadGame(uint16 slot) {
+ _soundMan->stopMusic();
+
_introSarcData3 = 200;
_introSarcData2 = 1;