aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorTorbjörn Andersson2018-10-22 18:16:51 +0200
committerThierry Crozat2018-11-04 22:33:22 +0100
commit71910c2283532a2071aed725835c66afee451e2d (patch)
treec694585348d5cbb86a8e8c7106845d9fba864403 /engines/zvision
parent7c58534f4f31a253f01a92655ecf6a3f33878e1a (diff)
downloadscummvm-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.cpp6
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