aboutsummaryrefslogtreecommitdiff
path: root/backends/modular-backend.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-05-17 00:18:09 +0300
committerEugene Sandulenko2013-05-17 00:18:09 +0300
commitf59512c47ea21c851535eeabf822aabdfde9167f (patch)
tree19c58c54c897dde0188e28951f0827a20ef3c4a0 /backends/modular-backend.cpp
parent4a62d6c25a4994a72c59ca3b8f2913ead565a173 (diff)
downloadscummvm-rg350-f59512c47ea21c851535eeabf822aabdfde9167f.tar.gz
scummvm-rg350-f59512c47ea21c851535eeabf822aabdfde9167f.tar.bz2
scummvm-rg350-f59512c47ea21c851535eeabf822aabdfde9167f.zip
RECORDER: Implement Events Recorder
Diffstat (limited to 'backends/modular-backend.cpp')
-rw-r--r--backends/modular-backend.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/modular-backend.cpp b/backends/modular-backend.cpp
index b46f33a2bc..94d0595fea 100644
--- a/backends/modular-backend.cpp
+++ b/backends/modular-backend.cpp
@@ -26,6 +26,7 @@
#include "backends/graphics/graphics.h"
#include "backends/mutex/mutex.h"
+#include "gui/EventRecorder.h"
#include "audio/mixer.h"
#include "graphics/pixelformat.h"
@@ -141,7 +142,9 @@ void ModularBackend::fillScreen(uint32 col) {
}
void ModularBackend::updateScreen() {
+ g_eventRec.preDrawOverlayGui();
_graphicsManager->updateScreen();
+ g_eventRec.postDrawOverlayGui();
}
void ModularBackend::setShakePos(int shakeOffset) {