mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
Tweaks (Morphos & Palm backends badly need updating :-/)
svn-id: r13848
This commit is contained in:
parent
7a772513c5
commit
cff4e1d49f
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
TheSystem = OSystem_MorphOS::create(ST_NONE, ConfMan.getBool("fullscreen"));
|
||||
|
||||
case GFX_SUPEREAGLE:
|
||||
gfx_scaler = ST_SUPEREAGLE;
|
||||
break;
|
||||
|
||||
case GFX_SUPER2XSAI:
|
||||
gfx_scaler = ST_SUPER2XSAI;
|
||||
break;
|
||||
}
|
||||
|
||||
TheSystem = OSystem_MorphOS::create(gfx_scaler, full_screen);
|
||||
return TheSystem;
|
||||
}
|
||||
|
||||
|
@ -70,11 +70,7 @@ enum {
|
||||
GFX_HQ2X = 8,
|
||||
GFX_HQ3X = 9,
|
||||
GFX_TV2X = 10,
|
||||
GFX_DOTMATRIX = 11,
|
||||
|
||||
GFX_FLIPPING = 100, // Palmos
|
||||
GFX_BUFFERED = 101, // Palmos
|
||||
GFX_WIDE = 102 // palmos
|
||||
GFX_DOTMATRIX = 11
|
||||
};
|
||||
|
||||
|
||||
|
@ -45,11 +45,11 @@ static OSystem *createSystem() {
|
||||
#elif defined(X11_BACKEND)
|
||||
return OSystem_X11_create();
|
||||
#elif defined(__MORPHOS__)
|
||||
return OSystem_MorphOS_create(gfx_mode, ConfMan.getBool("fullscreen"));
|
||||
return OSystem_MorphOS_create();
|
||||
#elif defined(_WIN32_WCE)
|
||||
return OSystem_WINCE3_create();
|
||||
#elif defined(__GP32__) // ph0x
|
||||
return OSystem_GP32_create(GFX_NORMAL, true);
|
||||
return OSystem_GP32_create();
|
||||
#elif defined(__PALM_OS__) //chrilith
|
||||
return OSystem_PALMOS_create();
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user