add new tv scanlines graphics scaler from Gregory Montoir, use -g tv2x to try it

svn-id: r6462
This commit is contained in:
Jonathan Gray 2003-01-15 02:11:37 +00:00
parent bd1b0d53ef
commit c08d736d1d
7 changed files with 39 additions and 5 deletions

View file

@ -99,6 +99,10 @@ void OSystem_SDL::load_gfx_mode() {
_scaleFactor = 2;
_scaler_proc = AdvMame2x;
break;
case GFX_TV2X:
_scaleFactor = 2;
_scaler_proc = TV2x;
break;
case GFX_DOUBLESIZE:
_scaleFactor = 2;
@ -341,7 +345,7 @@ uint32 OSystem_SDL::property(int param, Property *value) {
#endif
return 1;
} else if (param == PROP_SET_GFX_MODE) {
if (value->gfx_mode >= 7)
if (value->gfx_mode >= 8)
return 0;
_mode = value->gfx_mode;