[Scummvm-cvs-logs] SF.net SVN: scummvm:[33952] scummvm/branches/gsoc2008-rtl/engines/saga
cpage88 at users.sourceforge.net
cpage88 at users.sourceforge.net
Sun Aug 17 00:30:20 CEST 2008
Revision: 33952
http://scummvm.svn.sourceforge.net/scummvm/?rev=33952&view=rev
Author: cpage88
Date: 2008-08-16 22:30:19 +0000 (Sat, 16 Aug 2008)
Log Message:
-----------
Fixed volume change after loading a game in Saga
Modified Paths:
--------------
scummvm/branches/gsoc2008-rtl/engines/saga/interface.cpp
scummvm/branches/gsoc2008-rtl/engines/saga/saga.cpp
Modified: scummvm/branches/gsoc2008-rtl/engines/saga/interface.cpp
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/saga/interface.cpp 2008-08-16 22:18:06 UTC (rev 33951)
+++ scummvm/branches/gsoc2008-rtl/engines/saga/interface.cpp 2008-08-16 22:30:19 UTC (rev 33952)
@@ -1153,6 +1153,7 @@
debug(1, "Loading save game %d", _vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber);
setMode(kPanelMain);
_vm->load(_vm->calcSaveFileName(_vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber));
+ _vm->syncSoundSettings();
}
}
}
@@ -1616,6 +1617,7 @@
debug(1, "Loading save game %d", _vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber);
setMode(kPanelMain);
_vm->load(_vm->calcSaveFileName(_vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber));
+ _vm->syncSoundSettings();
}
}
} else {
Modified: scummvm/branches/gsoc2008-rtl/engines/saga/saga.cpp
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/saga/saga.cpp 2008-08-16 22:18:06 UTC (rev 33951)
+++ scummvm/branches/gsoc2008-rtl/engines/saga/saga.cpp 2008-08-16 22:30:19 UTC (rev 33952)
@@ -255,6 +255,7 @@
char *fileName;
fileName = calcSaveFileName(ConfMan.getInt("save_slot"));
load(fileName);
+ syncSoundSettings();
} else {
_framesEsc = 0;
_scene->startScene();
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