diff options
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/sdl/riscos/riscos.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/sdl/riscos/riscos.cpp b/backends/platform/sdl/riscos/riscos.cpp index ac1cdadd43..3cd9616585 100644 --- a/backends/platform/sdl/riscos/riscos.cpp +++ b/backends/platform/sdl/riscos/riscos.cpp @@ -26,6 +26,7 @@ #include "backends/platform/sdl/riscos/riscos.h" #include "backends/saves/default/default-saves.h" +#include "backends/events/riscossdl/riscossdl-events.h" #include "backends/fs/riscos/riscos-fs-factory.h" #include "backends/fs/riscos/riscos-fs.h" @@ -51,6 +52,10 @@ void OSystem_RISCOS::init() { void OSystem_RISCOS::initBackend() { ConfMan.registerDefault("enable_reporter", false); + // Create the events manager + if (_eventSource == 0) + _eventSource = new RISCOSSdlEventSource(); + // Create the savefile manager if (_savefileManager == 0) { Common::String savePath = "/<Choices$Write>/ScummVM/Saves"; |