aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge_main.cpp
diff options
context:
space:
mode:
authorStrangerke2011-08-27 18:01:06 +0200
committerStrangerke2011-08-27 18:01:06 +0200
commitbc0e65baacedc5daebc55f0c16a83b5c1810ab88 (patch)
tree6ec7aada3bb2f046c2a78dd3c609e9f395ca4e99 /engines/cge/cge_main.cpp
parentfedd3108719405eb5de52206a8337de4c9cd875d (diff)
downloadscummvm-rg350-bc0e65baacedc5daebc55f0c16a83b5c1810ab88.tar.gz
scummvm-rg350-bc0e65baacedc5daebc55f0c16a83b5c1810ab88.tar.bz2
scummvm-rg350-bc0e65baacedc5daebc55f0c16a83b5c1810ab88.zip
CGE: remove jbw.h, some clean up
Diffstat (limited to 'engines/cge/cge_main.cpp')
-rw-r--r--engines/cge/cge_main.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index 5df7ab193e..8ac07b9f11 100644
--- a/engines/cge/cge_main.cpp
+++ b/engines/cge/cge_main.cpp
@@ -310,9 +310,7 @@ void CGEEngine::syncGame(Common::SeekableReadStream *readStream, Common::WriteSt
_pocref[i] = (pocSpr) ? pocSpr->_ref : -1;
}
- warning("STUB: CGEEngine::syncGame Digital and Midi volume");
-// _volume[0] = _sndDrvInfo.Vol2._d;
-// _volume[1] = _sndDrvInfo.Vol2._m;
+ // Skip Digital and Midi volumes, useless under ScummVM
_volume[0] = 0;
_volume[1] = 0;
}
@@ -329,9 +327,7 @@ void CGEEngine::syncGame(Common::SeekableReadStream *readStream, Common::WriteSt
} else {
// Loading game
if (_soundOk == 1 && _mode == 0) {
-// _sndDrvInfo.Vol2._d = _volume[0];
-// _sndDrvInfo.Vol2._m = _volume[1];
- warning("STUB: CGEEngine::syncGame Digital and Midi volume");
+ // Skip Digital and Midi volumes, useless under ScummVM
sndSetVolume();
}
@@ -652,7 +648,7 @@ void CGEEngine::qGame() {
saveSound();
// Write out the user's progress
- saveGame(0, "");
+ saveGame(0, Common::String("Automatic Savegame"));
_vga->sunset();
_finis = true;