aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/zvision.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-01-10 21:32:15 +0200
committerFilippos Karapetis2015-01-10 21:32:15 +0200
commit899cf4813c7e009e1dbee56be8ad10d20650cf10 (patch)
tree32bb9645bdfd07d1bc362704ae1b6c17fd05a6b8 /engines/zvision/zvision.cpp
parent616b34e629686d7bfc3e5a74658c6a76b4a45c94 (diff)
downloadscummvm-rg350-899cf4813c7e009e1dbee56be8ad10d20650cf10.tar.gz
scummvm-rg350-899cf4813c7e009e1dbee56be8ad10d20650cf10.tar.bz2
scummvm-rg350-899cf4813c7e009e1dbee56be8ad10d20650cf10.zip
ZVISION: Change screen resolution for the hires DVD videos to 800x600
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is compiled in. The DVD videos are still disabled until AC3 audio support is implemented. The hires DVD videos are encoded a 720x480 resolution, with double the frame rate of the lowres ones (29.97FPS up from 15FPS)
Diffstat (limited to 'engines/zvision/zvision.cpp')
-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 5b6d63e869..b42906fef3 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -360,4 +360,10 @@ void ZVision::initScreen() {
initGraphics(WINDOW_WIDTH, WINDOW_HEIGHT, true, &_screenPixelFormat);
}
+void ZVision::initHiresScreen() {
+ _renderManager->upscaleRect(_workingWindow);
+
+ initGraphics(HIRES_WINDOW_WIDTH, HIRES_WINDOW_HEIGHT, true, &_screenPixelFormat);
+}
+
} // End of namespace ZVision