diff options
author | Max Horn | 2003-06-22 11:55:40 +0000 |
---|---|---|
committer | Max Horn | 2003-06-22 11:55:40 +0000 |
commit | 11ff7fe9a347efe37e2bd8fefca7e8c130f81af0 (patch) | |
tree | 037c8edce6a559e5816b7733727305ff66cc49cf /backends/sdl/sdl-common.h | |
parent | fa184730af2f2be094aa9f37cd3abf58d10f79ea (diff) | |
download | scummvm-rg350-11ff7fe9a347efe37e2bd8fefca7e8c130f81af0.tar.gz scummvm-rg350-11ff7fe9a347efe37e2bd8fefca7e8c130f81af0.tar.bz2 scummvm-rg350-11ff7fe9a347efe37e2bd8fefca7e8c130f81af0.zip |
Patch #757827: Aspect-ratio correction
svn-id: r8605
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r-- | backends/sdl/sdl-common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index c5e6847ffa..9c4bf91ab7 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -123,7 +123,7 @@ public: virtual int16 RGBToColor(uint8 r, uint8 g, uint8 b); virtual void colorToRGB(int16 color, uint8 &r, uint8 &g, uint8 &b); - static OSystem *create(int gfx_mode, bool full_screen); + static OSystem *create(int gfx_mode, bool full_screenm, bool aspect_ratio); protected: OSystem_SDL_Common(); @@ -131,7 +131,7 @@ protected: static OSystem_SDL_Common *create_intern(); - void init_intern(int gfx_mode, bool full_screen); + void init_intern(int gfx_mode, bool full_screen, bool aspect_ratio); // unseen game screen SDL_Surface *_screen; @@ -142,6 +142,8 @@ protected: int _tmpScreenWidth; bool _overlayVisible; + bool _adjustAspectRatio; + // CD Audio SDL_CD *_cdrom; int cd_track, cd_num_loops, cd_start_frame, cd_end_frame; |