[Scummvm-cvs-logs] scummvm master -> 50ce261dda5fd51f5313cbe0140d170a66ed35af
dreammaster
dreammaster at scummvm.org
Sun Nov 27 09:58:22 CET 2011
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:
50ce261dda CGE: Hooked up the ScummVM debugger
Commit: 50ce261dda5fd51f5313cbe0140d170a66ed35af
https://github.com/scummvm/scummvm/commit/50ce261dda5fd51f5313cbe0140d170a66ed35af
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-11-27T00:57:34-08:00
Commit Message:
CGE: Hooked up the ScummVM debugger
Changed paths:
engines/cge/events.cpp
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp
index 73bef63..8ace047 100644
--- a/engines/cge/events.cpp
+++ b/engines/cge/events.cpp
@@ -148,6 +148,11 @@ bool Keyboard::getKey(Common::Event &event, int &cgeCode) {
_vm->loadGameState(savegameId);
}
return false;
+ } else if ((keycode == Common::KEYCODE_d) && (event.kbd.flags & Common::KBD_CTRL)) {
+ // Start the debugger
+ _vm->_console->attach();
+ _vm->_console->onFrame();
+ return false;
}
// Scan through the ScummVM mapping list
More information about the Scummvm-git-logs
mailing list