aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-10-24 09:51:28 +0000
committerTorbjörn Andersson2009-10-24 09:51:28 +0000
commitcc19ed27a1ef411886ca22ca09e0b52c355e39b9 (patch)
tree72cac2eecddff605af4a43d1d38c9a170ead9836 /engines/scumm
parenta5c97673eb8ed705ad58634cef889cbdd808ed64 (diff)
downloadscummvm-rg350-cc19ed27a1ef411886ca22ca09e0b52c355e39b9.tar.gz
scummvm-rg350-cc19ed27a1ef411886ca22ca09e0b52c355e39b9.tar.bz2
scummvm-rg350-cc19ed27a1ef411886ca22ca09e0b52c355e39b9.zip
Made the "drafts" debugger command work with the PC-Engine version. The drafts
appear to be stored in the same variables as in the DOS CD version. Other than that, I only have the DOS floppy version, so other versions still may or may not work as intended. svn-id: r45358
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/debugger.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp
index 6ab7d8d7b0..cc3cec6e85 100644
--- a/engines/scumm/debugger.cpp
+++ b/engines/scumm/debugger.cpp
@@ -786,7 +786,13 @@ bool ScummDebugger::Cmd_PrintDraft(int argc, const char **argv) {
// Possibly they store information on where and/or how the draft can
// be used. They appear to remain constant throughout the game.
- base = (_vm->_game.version == 3) ? 50 : 100;
+ if (_vm->_game.version == 4 || _vm->_game.platform == Common::kPlatformPCEngine) {
+ // DOS CD version / PC-Engine version
+ base = 100;
+ } else {
+ // All (?) other versions
+ base = 50;
+ }
if (argc == 2) {
// We had to debug a problem at the end of the game that only