mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
CGE: Fixes for saving games
This commit is contained in:
parent
621fa62e8b
commit
8cad6821bd
@ -239,7 +239,16 @@ Common::Error CGEEngine::loadGameState(int slot) {
|
||||
}
|
||||
|
||||
Common::Error CGEEngine::saveGameState(int slot, const Common::String &desc) {
|
||||
caveDown();
|
||||
_oldLev = _lev;
|
||||
saveSound();
|
||||
|
||||
// Write out the user's progress
|
||||
saveGame(slot, desc);
|
||||
|
||||
// Reload the scene
|
||||
caveUp();
|
||||
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user