aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/mutationofjb/detection.cpp2
-rw-r--r--engines/mutationofjb/mutationofjb.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/mutationofjb/detection.cpp b/engines/mutationofjb/detection.cpp
index 3ec82e83bc..0235f8071e 100644
--- a/engines/mutationofjb/detection.cpp
+++ b/engines/mutationofjb/detection.cpp
@@ -108,7 +108,7 @@ public:
}
virtual bool hasFeature(MetaEngineFeature f) const override {
- if (f == kSupportsListSaves || f == kSimpleSavesNames) {
+ if (f == kSupportsListSaves || f == kSimpleSavesNames || f == kSupportsLoadingDuringStartup) {
return true;
}
diff --git a/engines/mutationofjb/mutationofjb.cpp b/engines/mutationofjb/mutationofjb.cpp
index 1537646f9e..d96d1658b8 100644
--- a/engines/mutationofjb/mutationofjb.cpp
+++ b/engines/mutationofjb/mutationofjb.cpp
@@ -294,7 +294,11 @@ Common::Error MutationOfJBEngine::run() {
setupCursor();
- _game->changeScene(13, false); // Initial scene.
+ if (ConfMan.hasKey("save_slot")) {
+ loadGameState(ConfMan.getInt("save_slot"));
+ } else {
+ _game->changeScene(13, false); // Initial scene.
+ }
while (!shouldQuit()) {
Common::Event event;