From bc0e65baacedc5daebc55f0c16a83b5c1810ab88 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 27 Aug 2011 18:01:06 +0200 Subject: CGE: remove jbw.h, some clean up --- engines/cge/cge_main.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'engines/cge/cge_main.cpp') 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; -- cgit v1.2.3