[Scummvm-cvs-logs] SF.net SVN: scummvm:[45358] scummvm/trunk/engines/scumm/debugger.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Oct 24 11:51:29 CEST 2009
Revision: 45358
http://scummvm.svn.sourceforge.net/scummvm/?rev=45358&view=rev
Author: eriktorbjorn
Date: 2009-10-24 09:51:28 +0000 (Sat, 24 Oct 2009)
Log Message:
-----------
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.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/debugger.cpp
Modified: scummvm/trunk/engines/scumm/debugger.cpp
===================================================================
--- scummvm/trunk/engines/scumm/debugger.cpp 2009-10-24 05:00:27 UTC (rev 45357)
+++ scummvm/trunk/engines/scumm/debugger.cpp 2009-10-24 09:51:28 UTC (rev 45358)
@@ -786,7 +786,13 @@
// 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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list