scummvm/scummvm — pull request #353 by clone2727 (2013-07-07 04:25:38+00:00)
Title: ALL: Don't use EventRecorder at all when not compiled in

This adds an ENABLE_EVENTRECORDER ifdef check around any g_eventRec call and also removes the dummy EventRecorder class. This brings the class more in line with what we do with ie. TranslationManager where it doesn't exist if it's not configured to be built.

In addition, this also fixes TimerManager not being destroyed properly when EventRecorder support is not compiled in. This broke OpenGL modes and would crash on quit when using it.