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/gp32/gp32_osys.cpp | 2 +- backends/gp32/gp32_osys.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/gp32') diff --git a/backends/gp32/gp32_osys.cpp b/backends/gp32/gp32_osys.cpp index 52dd1d32a5..da0b0a0475 100644 --- a/backends/gp32/gp32_osys.cpp +++ b/backends/gp32/gp32_osys.cpp @@ -98,7 +98,7 @@ int OSystem_GP32::getGraphicsMode() const { return -1; } -void OSystem_GP32::initSize(uint width, uint height, int overlayScale) { +void OSystem_GP32::initSize(uint width, uint height) { NP("OSys::initSize()"); if (width == _screenWidth && height == _screenHeight) diff --git a/backends/gp32/gp32_osys.h b/backends/gp32/gp32_osys.h index 4bb2bfb1f1..0833577bc2 100644 --- a/backends/gp32/gp32_osys.h +++ b/backends/gp32/gp32_osys.h @@ -95,7 +95,7 @@ public: virtual bool setGraphicsMode(int mode); bool setGraphicsMode(const char *name); virtual int getGraphicsMode() const; - virtual void initSize(uint width, uint height, int overlayScale); + virtual void initSize(uint width, uint height); virtual int16 getHeight(); virtual int16 getWidth(); virtual void setPalette(const byte *colors, uint start, uint num); -- cgit v1.2.3