aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/pegasus.cpp')
-rw-r--r--engines/pegasus/pegasus.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index 1665b474ee..43ffc4c460 100644
--- a/engines/pegasus/pegasus.cpp
+++ b/engines/pegasus/pegasus.cpp
@@ -328,8 +328,7 @@ void PegasusEngine::runIntro() {
}
Common::Error PegasusEngine::showLoadDialog() {
- GUI::SaveLoadChooser slc(_("Load game:"), _("Load"));
- slc.setSaveMode(false);
+ GUI::SaveLoadChooser slc(_("Load game:"), _("Load"), false);
Common::String gameId = ConfMan.get("gameid");
@@ -355,8 +354,7 @@ Common::Error PegasusEngine::showLoadDialog() {
}
Common::Error PegasusEngine::showSaveDialog() {
- GUI::SaveLoadChooser slc(_("Save game:"), _("Save"));
- slc.setSaveMode(true);
+ GUI::SaveLoadChooser slc(_("Save game:"), _("Save"), true);
Common::String gameId = ConfMan.get("gameid");