From ad3ab61241d5878c9b66f78f3927adb97f5a84e8 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 16 Oct 2015 20:26:34 +0200 Subject: COMMON: Remove the EventRecorder dependency from OSystem EventRecorder is in the gui lib which is not linked in the cxxtest suite. --- backends/platform/sdl/sdl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'backends/platform/sdl/sdl.cpp') diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index c55753194b..dca6891fef 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -492,6 +492,14 @@ AudioCDManager *OSystem_SDL::createAudioCDManager() { #endif } +Common::SaveFileManager *OSystem_SDL::getSavefileManager() { +#ifdef ENABLE_EVENTRECORDER + return g_eventRec.getSaveManager(_savefileManager); +#else + return _savefileManager; +#endif +} + #ifdef USE_OPENGL const OSystem::GraphicsMode *OSystem_SDL::getSupportedGraphicsModes() const { -- cgit v1.2.3