aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-05-30 20:18:42 +0000
committerFilippos Karapetis2010-05-30 20:18:42 +0000
commit1fd3877ec7778535174cdfaef50810d619630fbb (patch)
treeef16bf5599d7b654eb1e5a7b43e2ab8446add64a
parentdc4d61f7181edf332d426bab9d16e0055e3d0f21 (diff)
downloadscummvm-rg350-1fd3877ec7778535174cdfaef50810d619630fbb.tar.gz
scummvm-rg350-1fd3877ec7778535174cdfaef50810d619630fbb.tar.bz2
scummvm-rg350-1fd3877ec7778535174cdfaef50810d619630fbb.zip
Cleanup
svn-id: r49333
-rw-r--r--engines/sci/engine/savegame.cpp9
-rw-r--r--engines/sci/sound/soundcmd.cpp1
2 files changed, 0 insertions, 10 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 2846aa5b9f..2d21ce6cbb 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -731,15 +731,6 @@ int gamestate_save(EngineState *s, Common::WriteStream *fh, const char* savename
return 1;
}
-/*
- if (s->sound_server) {
- if ((s->sound_server->save)(s, dirname)) {
- warning("Saving failed for the sound subsystem");
- //chdir("..");
- return 1;
- }
- }
-*/
Common::Serializer ser(0, fh);
sync_SavegameMetadata(ser, meta);
Graphics::saveThumbnail(*fh);
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 3d25713ceb..ece4c1430c 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -630,7 +630,6 @@ void SoundCommandParser::cmdFadeSound(reg_t obj, int16 value) {
#ifdef USE_OLD_MUSIC_FUNCTIONS
SongHandle handle = FROBNICATE_HANDLE(obj);
if (_soundVersion != SCI_VERSION_1_LATE) {
- /*s->sound_server->command(s, SOUND_COMMAND_FADE_HANDLE, obj, 120);*/ /* Fade out in 2 secs */
/* FIXME: The next couple of lines actually STOP the handle, rather
** than fading it! */
_state->sfx_song_set_status(handle, SOUND_STATUS_STOPPED);