From cc19ed27a1ef411886ca22ca09e0b52c355e39b9 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 24 Oct 2009 09:51:28 +0000 Subject: 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 --- engines/scumm/debugger.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/scumm') 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 -- cgit v1.2.3