diff options
author | Cameron Cawley | 2019-04-15 19:09:33 +0100 |
---|---|---|
committer | Thierry Crozat | 2019-04-30 22:17:04 +0100 |
commit | fb0b63ba66f87431c769eafb0a02a2f85aab9fa9 (patch) | |
tree | a9c1ab0f7e73806dcfc7a3a146425d5e30d792fa /backends/platform | |
parent | 9c29b03c43f4ed1b4c6f08d6616ea330c9b8eca5 (diff) | |
download | scummvm-rg350-fb0b63ba66f87431c769eafb0a02a2f85aab9fa9.tar.gz scummvm-rg350-fb0b63ba66f87431c769eafb0a02a2f85aab9fa9.tar.bz2 scummvm-rg350-fb0b63ba66f87431c769eafb0a02a2f85aab9fa9.zip |
RISCOS: Add Drag and Drop support
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"; |