diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/PalmOS/Src/palm.cpp | 7 | ||||
-rw-r--r-- | backends/morphos/morphos_start.cpp | 19 |
2 files changed, 9 insertions, 17 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp index 0b7eceb8e6..7f2de9fd3e 100644 --- a/backends/PalmOS/Src/palm.cpp +++ b/backends/PalmOS/Src/palm.cpp @@ -47,6 +47,13 @@ //#define SND_BLOCK (8192) #define SND_BLOCK (3072) +enum { + GFX_FLIPPING = 100, // Palmos + GFX_BUFFERED = 101, // Palmos + GFX_WIDE = 102 // palmos +}; + + OSystem *OSystem_PALMOS_create(int gfx_mode) { return OSystem_PALMOS::create(gfx_mode); } diff --git a/backends/morphos/morphos_start.cpp b/backends/morphos/morphos_start.cpp index 9cb104fe26..1227506976 100644 --- a/backends/morphos/morphos_start.cpp +++ b/backends/morphos/morphos_start.cpp @@ -71,28 +71,13 @@ Library *TimerBase = NULL; OSystem_MorphOS *TheSystem = NULL; -OSystem *OSystem_MorphOS_create(int gfx_mode, bool full_screen) +OSystem *OSystem_MorphOS_create() { if (TheSystem) delete TheSystem; - SCALERTYPE gfx_scaler = ST_NONE; - switch (gfx_mode) - { - case GFX_DOUBLESIZE: - gfx_scaler = ST_POINT; - break; - - case GFX_SUPEREAGLE: - gfx_scaler = ST_SUPEREAGLE; - break; - - case GFX_SUPER2XSAI: - gfx_scaler = ST_SUPER2XSAI; - break; - } + TheSystem = OSystem_MorphOS::create(ST_NONE, ConfMan.getBool("fullscreen")); - TheSystem = OSystem_MorphOS::create(gfx_scaler, full_screen); return TheSystem; } |