BAGEL: Finish code for loading savegames from GMM

This commit is contained in:
Paul Gilbert 2024-03-17 22:32:47 -07:00 committed by Eugene Sandulenko
parent 03dc458a19
commit 455a46ae3b

View File

@ -95,8 +95,7 @@ ERROR_CODE SpaceBarEngine::Initialize() {
int saveSlot = ConfMan.hasKey("save_slot") ? ConfMan.getInt("save_slot") : -1;
if (saveSlot != -1) {
bRestart = FALSE;
// TODO: load savegame
bRestart = loadGameState(saveSlot).getCode() != Common::kNoError;
} else if (savesExist()) {
bRestart = FALSE;