From 14ec3f45fa08a0c0071693f4094fc088eb0062b5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 17 May 2006 23:52:45 +0000 Subject: - Heavily modified patch #1214784: "Disable overlay scaling" - Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505 --- backends/dc/dc.h | 2 +- backends/dc/display.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/dc') diff --git a/backends/dc/dc.h b/backends/dc/dc.h index dd390c7f2d..aaf505bd64 100644 --- a/backends/dc/dc.h +++ b/backends/dc/dc.h @@ -69,7 +69,7 @@ class OSystem_Dreamcast : public OSystem { // Set the size of the video bitmap. // Typically, 320x200 - void initSize(uint w, uint h, int overlayScale); + void initSize(uint w, uint h); int16 getHeight() { return _screen_h; } int16 getWidth() { return _screen_w; } diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp index 6d38ab866a..338138f912 100644 --- a/backends/dc/display.cpp +++ b/backends/dc/display.cpp @@ -192,7 +192,7 @@ void OSystem_Dreamcast::setScaling() } } -void OSystem_Dreamcast::initSize(uint w, uint h, int overlayScale) +void OSystem_Dreamcast::initSize(uint w, uint h) { assert(w <= SCREEN_W && h <= SCREEN_H); -- cgit v1.2.3