diff options
author | Filippos Karapetis | 2009-12-27 12:12:14 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-12-27 12:12:14 +0000 |
commit | 19cb4ad6e02927607af851d08d1b176cbb1f8bea (patch) | |
tree | 619efa8d262734873d1476755de91f82cdfd3d88 | |
parent | 6536432b30d222b0bf0e56f084b671fdba0734ff (diff) | |
download | scummvm-rg350-19cb4ad6e02927607af851d08d1b176cbb1f8bea.tar.gz scummvm-rg350-19cb4ad6e02927607af851d08d1b176cbb1f8bea.tar.bz2 scummvm-rg350-19cb4ad6e02927607af851d08d1b176cbb1f8bea.zip |
Hopefully fixed compilation
svn-id: r46628
-rw-r--r-- | engines/sci/engine/savegame.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index cee1825b0b..054f1124dd 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -615,8 +615,10 @@ static void sync_songlib(Common::Serializer &s, SongLibrary &obj) { } } } -#else +#endif + void SciMusic::saveLoadWithSerializer(Common::Serializer &s) { +#ifndef USE_OLD_MUSIC_FUNCTIONS // Sync song lib data. When loading, the actual song lib will be initialized // afterwards in gamestate_restore() _mutex.lock(); @@ -641,8 +643,8 @@ void SciMusic::saveLoadWithSerializer(Common::Serializer &s) { } _mutex.unlock(); -} #endif +} #pragma mark - |