Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handling

svn-id: r15563
This commit is contained in:
Max Horn 2004-10-15 22:28:12 +00:00
parent ccb8d04f35
commit bb462f64e0
4 changed files with 35 additions and 37 deletions

View file

@ -36,6 +36,18 @@
#define USE_OSD 1
#endif
static const int s_gfxModeSwitchTable[][4] = {
{ GFX_NORMAL, GFX_DOUBLESIZE, GFX_TRIPLESIZE, -1 },
{ GFX_NORMAL, GFX_ADVMAME2X, GFX_ADVMAME3X, -1 },
{ GFX_NORMAL, GFX_HQ2X, GFX_HQ3X, -1 },
{ GFX_NORMAL, GFX_2XSAI, -1, -1 },
{ GFX_NORMAL, GFX_SUPER2XSAI, -1, -1 },
{ GFX_NORMAL, GFX_SUPEREAGLE, -1, -1 },
{ GFX_NORMAL, GFX_TV2X, -1, -1 },
{ GFX_NORMAL, GFX_DOTMATRIX, -1, -1 }
};
class OSystem_SDL : public OSystem {
public:
OSystem_SDL();
@ -181,7 +193,8 @@ protected:
};
bool _forceFull; // Force full redraw on next updateScreen
ScalerProc *_scaler_proc;
ScalerProc *_scalerProc;
int _scalerType;
int _scaleFactor;
int _mode;
bool _full_screen;