diff options
author | David-John Willis | 2011-05-08 22:31:17 +0100 |
---|---|---|
committer | David-John Willis | 2011-06-11 17:07:21 +0100 |
commit | 4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7 (patch) | |
tree | 50a465813e2ec8b0c3a655fec034fcfe55c7fa23 /backends/platform/openpandora/op-sdl.h | |
parent | 7878c1ec4933dcedf20ab20e15a671a2209c4838 (diff) | |
download | scummvm-rg350-4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7.tar.gz scummvm-rg350-4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7.tar.bz2 scummvm-rg350-4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7.zip |
OPENPANDORA: Start to cleanup the backend and move controls into remapkey.
* Work in progress.
Diffstat (limited to 'backends/platform/openpandora/op-sdl.h')
-rw-r--r-- | backends/platform/openpandora/op-sdl.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/backends/platform/openpandora/op-sdl.h b/backends/platform/openpandora/op-sdl.h index 9d92472b17..d493c3957c 100644 --- a/backends/platform/openpandora/op-sdl.h +++ b/backends/platform/openpandora/op-sdl.h @@ -26,12 +26,12 @@ #if defined(OPENPANDORA) #include "backends/base-backend.h" -#include "backends/platform/sdl/sdl.h" +#include "backends/platform/sdl/sdl-sys.h" #include "backends/platform/sdl/posix/posix.h" #include "backends/events/openpandora/op-events.h" #include "backends/graphics/openpandora/op-graphics.h" -#define __OPENPANDORA__ +//#define MIXER_DOUBLE_BUFFERING 1 #ifndef PATH_MAX #define PATH_MAX 255 @@ -39,16 +39,22 @@ class OSystem_OP : public OSystem_POSIX { public: - OSystem_OP() {} + OSystem_OP(); /* Platform Setup Stuff */ void addSysArchivesToSearchSet(Common::SearchSet &s, int priority); void initBackend(); - void initSDL(); void quit(); protected: - + bool _inited; + bool _initedSDL; + + /** + * Initialse the SDL library + * with an OpenPandora workaround. + */ + virtual void initSDL(); }; #endif #endif //OP_SDL_H |