From 4144fef5a7404bfab8dd127cc9d09694de89e997 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 8 Aug 2011 13:16:49 +0100 Subject: RECORDER: Add some debug output --- common/EventRecorder.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common') 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); -- cgit v1.2.3