diff options
| author | Max Horn | 2004-05-21 20:43:07 +0000 |
|---|---|---|
| committer | Max Horn | 2004-05-21 20:43:07 +0000 |
| commit | cff4e1d49fd919dc8e0554beea930b02a7fcad90 (patch) | |
| tree | 1970479f54624f98855d4ed878dc65e736be689b /backends | |
| parent | 7a772513c54387141dbbff1a8f0c125d1a2b74e9 (diff) | |
| download | scummvm-rg350-cff4e1d49fd919dc8e0554beea930b02a7fcad90.tar.gz scummvm-rg350-cff4e1d49fd919dc8e0554beea930b02a7fcad90.tar.bz2 scummvm-rg350-cff4e1d49fd919dc8e0554beea930b02a7fcad90.zip | |
Tweaks (Morphos & Palm backends badly need updating :-/)
svn-id: r13848
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; } |
