diff options
author | James Brown | 2002-04-24 07:42:29 +0000 |
---|---|---|
committer | James Brown | 2002-04-24 07:42:29 +0000 |
commit | 4cc43b367920db806521122f7d4f0e1f08d7c748 (patch) | |
tree | 2b931a6e20e1ab3bbd14c7dbd54d333e8acc8f2a /sdl.cpp | |
parent | c8cfb1e25ad8e473300e74c0971f8bbfef3af185 (diff) | |
download | scummvm-rg350-4cc43b367920db806521122f7d4f0e1f08d7c748.tar.gz scummvm-rg350-4cc43b367920db806521122f7d4f0e1f08d7c748.tar.bz2 scummvm-rg350-4cc43b367920db806521122f7d4f0e1f08d7c748.zip |
Add new Scale mode. Thanks Gregory Montoir.
svn-id: r4069
Diffstat (limited to 'sdl.cpp')
-rw-r--r-- | sdl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -188,6 +188,9 @@ void Super2xSaI(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr, uint8 *dstPtr, uint32 dstPitch, int width, int height); void SuperEagle(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr, uint8 *dstPtr, uint32 dstPitch, int width, int height); +void AdvMame2x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, + uint8 *dstPtr, uint32 dstPitch, int width, int height); + void atexit_proc() { @@ -251,6 +254,9 @@ void OSystem_SDL::load_gfx_mode() { case GFX_SUPEREAGLE: _sai_func = SuperEagle; break; + case GFX_ADVMAME2X: + _sai_func = AdvMame2x; + break; case GFX_DOUBLESIZE: scaling = 2; |