aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2013-07-06 23:54:45 -0400
committerMatthew Hoops2013-07-06 23:54:45 -0400
commit4a7e4e5b22da3587a9d68978d7be31e4e78a8ccc (patch)
tree99da5697f89e53aef119dc1e49d2df9a96c0eae9 /engines/advancedDetector.cpp
parentbd82ca97c228edb1f526a8a88a9f370daab8de95 (diff)
downloadscummvm-rg350-4a7e4e5b22da3587a9d68978d7be31e4e78a8ccc.tar.gz
scummvm-rg350-4a7e4e5b22da3587a9d68978d7be31e4e78a8ccc.tar.bz2
scummvm-rg350-4a7e4e5b22da3587a9d68978d7be31e4e78a8ccc.zip
ALL: Don't use EventRecorder at all when not compiled in
Diffstat (limited to 'engines/advancedDetector.cpp')
-rw-r--r--engines/advancedDetector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index 9023548c83..fd0c8dc2da 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -609,7 +609,9 @@ AdvancedMetaEngine::AdvancedMetaEngine(const void *descs, uint descItemSize, con
}
void AdvancedMetaEngine::initSubSystems(const ADGameDescription *gameDesc) const {
+#ifdef ENABLE_EVENTRECORDER
if (gameDesc) {
g_eventRec.processGameDescription(gameDesc);
}
+#endif
}