aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x/gp2x-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gp2x/gp2x-common.h')
-rw-r--r--backends/platform/gp2x/gp2x-common.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/backends/platform/gp2x/gp2x-common.h b/backends/platform/gp2x/gp2x-common.h
index 7341b0646f..2b8f7c091e 100644
--- a/backends/platform/gp2x/gp2x-common.h
+++ b/backends/platform/gp2x/gp2x-common.h
@@ -29,13 +29,15 @@
#include <SDL.h>
#include <SDL_gp2x.h>
-#include "backends/base-backend.h"
+#include "common/scummsys.h"
+#include "common/system.h"
#include "graphics/scaler.h"
#define __GP2X__
#define USE_OSD
-/* #define DISABLE_SCALERS */
-#define MIXER_DOUBLE_BUFFERING 1
+/* #define DISABLE_SCALERS
+#define MIXER_DOUBLE_BUFFERING 1 */
+
namespace Audio {
class MixerImpl;
@@ -57,7 +59,7 @@ enum {
};
-class OSystem_GP2X : public BaseBackend {
+class OSystem_GP2X : public OSystem {
public:
OSystem_GP2X();
virtual ~OSystem_GP2X();
@@ -187,8 +189,8 @@ public:
virtual FilesystemFactory *getFilesystemFactory();
virtual void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0);
- virtual Common::SeekableReadStream *createConfigReadStream();
- virtual Common::WriteStream *createConfigWriteStream();
+ virtual Common::SeekableReadStream *openConfigFileForReading();
+ virtual Common::WriteStream *openConfigFileForWriting();
protected:
bool _inited;
@@ -283,7 +285,6 @@ protected:
enum {
NUM_DIRTY_RECT = 100,
-
MAX_MOUSE_W = 80,
MAX_MOUSE_H = 80,
MAX_SCALING = 3