diff options
-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 - |