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
This commit is contained in:
parent
a5c97673eb
commit
cc19ed27a1
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue