diff options
author | Torbjörn Andersson | 2018-10-22 18:16:51 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-11-04 22:33:22 +0100 |
commit | 71910c2283532a2071aed725835c66afee451e2d (patch) | |
tree | c694585348d5cbb86a8e8c7106845d9fba864403 /engines/zvision | |
parent | 7c58534f4f31a253f01a92655ecf6a3f33878e1a (diff) | |
download | scummvm-rg350-71910c2283532a2071aed725835c66afee451e2d.tar.gz scummvm-rg350-71910c2283532a2071aed725835c66afee451e2d.tar.bz2 scummvm-rg350-71910c2283532a2071aed725835c66afee451e2d.zip |
ZVISION: Set 800x600 mode for the DVD version of ZGI
This allows the backend to show the hi-res videos at full
resolution, rather than scaling them down.
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/zvision.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp index 9eb6465947..5a53383501 100644 --- a/engines/zvision/zvision.cpp +++ b/engines/zvision/zvision.cpp @@ -191,6 +191,12 @@ void ZVision::initialize() { } } + Graphics::ModeList modes; + modes.push_back(Graphics::Mode(WINDOW_WIDTH, WINDOW_HEIGHT)); + if (getGameId() == GID_GRANDINQUISITOR && (getFeatures() & GF_DVD)) + modes.push_back(Graphics::Mode(HIRES_WINDOW_WIDTH, HIRES_WINDOW_HEIGHT)); + initGraphicsModes(modes); + initScreen(); // Register random source |