[Scummvm-git-logs] scummvm master -> 11417e5b5cef85d3f33baaa1d661de7eb58c1fe1
dreammaster
noreply at scummvm.org
Sat Apr 27 04:44:06 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
11417e5b5c MM: XEEN: In console load command, print out filename it's looking for
Commit: 11417e5b5cef85d3f33baaa1d661de7eb58c1fe1
https://github.com/scummvm/scummvm/commit/11417e5b5cef85d3f33baaa1d661de7eb58c1fe1
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-04-26T21:43:58-07:00
Commit Message:
MM: XEEN: In console load command, print out filename it's looking for
Changed paths:
engines/mm/xeen/debugger.cpp
diff --git a/engines/mm/xeen/debugger.cpp b/engines/mm/xeen/debugger.cpp
index 1b9c853cfb5..6340eca7330 100644
--- a/engines/mm/xeen/debugger.cpp
+++ b/engines/mm/xeen/debugger.cpp
@@ -226,14 +226,19 @@ bool Debugger::cmdLoadOriginal(int argc, const char **argv) {
Common::String::format("%s%.2d.SAV", prefix[idx], strToInt(argv[2])));
Common::File f;
+ debugPrintf("Trying to open - %s\n", fsNode.getPath().toString().c_str());
+
if (f.open(fsNode)) {
archives[idx]->load(f);
f.close();
} else {
- archives[idx]->reset(cc[idx]);
+ debugPrintf("Could not open.\n");
+ return true;
}
}
+ debugPrintf("Savegame loaded.\n");
+
// TODO: Figure out to set correct side from original saves
files.setGameCc(_vm->getGameID() == GType_DarkSide ? 1 : 0);
More information about the Scummvm-git-logs
mailing list