From 71910c2283532a2071aed725835c66afee451e2d Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 22 Oct 2018 18:16:51 +0200 Subject: 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. --- engines/zvision/zvision.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines') 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 -- cgit v1.2.3