aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2011-08-08 13:16:49 +0100
committerEugene Sandulenko2011-08-08 20:01:05 +0100
commit4144fef5a7404bfab8dd127cc9d09694de89e997 (patch)
tree62b1fbaf67b1fd5f6bd39b9398cd0c12b5a80dd5
parent53ea7bfe3477ab53d772d53d9b43e971296597d4 (diff)
downloadscummvm-rg350-4144fef5a7404bfab8dd127cc9d09694de89e997.tar.gz
scummvm-rg350-4144fef5a7404bfab8dd127cc9d09694de89e997.tar.bz2
scummvm-rg350-4144fef5a7404bfab8dd127cc9d09694de89e997.zip
RECORDER: Add some debug output
-rw-r--r--common/EventRecorder.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/EventRecorder.cpp b/common/EventRecorder.cpp
index 201043f52e..f5d8641bd3 100644
--- a/common/EventRecorder.cpp
+++ b/common/EventRecorder.cpp
@@ -111,11 +111,15 @@ void EventRecorder::init() {
String recordModeString = ConfMan.get("record_mode");
if (recordModeString.compareToIgnoreCase("record") == 0) {
_recordMode = kRecorderRecord;
+
+ debug(3, "EventRecorder: record");
} else {
if (recordModeString.compareToIgnoreCase("playback") == 0) {
_recordMode = kRecorderPlayback;
+ debug(3, "EventRecorder: playback");
} else {
_recordMode = kPassthrough;
+ debug(3, "EventRecorder: passthrough");
}
}
@@ -194,6 +198,8 @@ void EventRecorder::init() {
}
void EventRecorder::deinit() {
+ debug(3, "EventRecorder: deinit");
+
g_system->getEventManager()->getEventDispatcher()->unregisterSource(this);
g_system->getEventManager()->getEventDispatcher()->unregisterObserver(this);