diff options
author | Max Lingua | 2014-01-17 01:03:34 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-18 13:49:07 -0500 |
commit | beee456c688330e044b5ec32e5860f9b3ab4ff2e (patch) | |
tree | 597abd3bd3e5929a071505153b5202c77c421e19 /backends/platform/ps2/Gs2dScreen.h | |
parent | ca2f0f0067a53c468e6eb86a27e87a56ef2f60a5 (diff) | |
download | scummvm-rg350-beee456c688330e044b5ec32e5860f9b3ab4ff2e.tar.gz scummvm-rg350-beee456c688330e044b5ec32e5860f9b3ab4ff2e.tar.bz2 scummvm-rg350-beee456c688330e044b5ec32e5860f9b3ab4ff2e.zip |
PS2: support for different gfx modes
Diffstat (limited to 'backends/platform/ps2/Gs2dScreen.h')
-rw-r--r-- | backends/platform/ps2/Gs2dScreen.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/backends/platform/ps2/Gs2dScreen.h b/backends/platform/ps2/Gs2dScreen.h index ce6538753d..258ced627e 100644 --- a/backends/platform/ps2/Gs2dScreen.h +++ b/backends/platform/ps2/Gs2dScreen.h @@ -25,6 +25,7 @@ #include "sysdefs.h" #include "backends/base-backend.h" +#include "common/config-manager.h" #include "backends/platform/ps2/DmaPipe.h" #include "graphics/surface.h" @@ -32,7 +33,9 @@ enum TVMode { TV_DONT_CARE = 0, TV_PAL, - TV_NTSC + TV_NTSC, + TV_HDTV, /* internal */ + TV_VESA /* internal */ }; enum GsInterlace { @@ -42,7 +45,7 @@ enum GsInterlace { class Gs2dScreen { public: - Gs2dScreen(uint16 width, uint16 height, TVMode mode); + Gs2dScreen(uint16 width, uint16 height); ~Gs2dScreen(void); void newScreenSize(uint16 width, uint16 height); // uint8 tvMode(void); @@ -85,8 +88,10 @@ private: void createAnimTextures(void); DmaPipe *_dmaPipe; + uint8 _gfxMode; uint8 _tvMode; uint16 _tvWidth, _tvHeight; + uint16 _tvPitch; GsVertex _blitCoords[2]; TexVertex _texCoords[2]; |