aboutsummaryrefslogtreecommitdiff
path: root/backends/gp32
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-09 23:07:32 +0000
committerEugene Sandulenko2005-03-09 23:07:32 +0000
commit7bb53f3bf10acf3b97d635b75e50b3c51b2ff862 (patch)
treeab25d421bbffb9d1e43079b3b40b2bab0e0fd820 /backends/gp32
parentb72df416a64642d180e9b746484ce292d845fae4 (diff)
downloadscummvm-rg350-7bb53f3bf10acf3b97d635b75e50b3c51b2ff862.tar.gz
scummvm-rg350-7bb53f3bf10acf3b97d635b75e50b3c51b2ff862.tar.bz2
scummvm-rg350-7bb53f3bf10acf3b97d635b75e50b3c51b2ff862.zip
Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing nice looking GUI. Also updated all backends. If your backend has ability to run with 640x400 or 640x480 resolution then read patch tracker item to find out details. Other port maintainers shouldn't worry, as this patch doesn't affect them, they still get their 320x200. svn-id: r17055
Diffstat (limited to 'backends/gp32')
-rw-r--r--backends/gp32/gp32.cpp2
-rw-r--r--backends/gp32/gp32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/gp32/gp32.cpp b/backends/gp32/gp32.cpp
index c8912ed166..0ff9827a0a 100644
--- a/backends/gp32/gp32.cpp
+++ b/backends/gp32/gp32.cpp
@@ -229,7 +229,7 @@ const char shortkey3[] = "wlptuo"; // samnmax
const char *shortkey;
int skindex = 0;
-void OSystem_GP32::initSize(uint w, uint h) {
+void OSystem_GP32::initSize(uint w, uint h, int overlayScale) {
/*switch (menu[MENU_SCREENPOS].index) {
* case 0 : scrofsy = 239 - (240 - h)/2; break;
* case 1 : scrofsy = 239; break;
diff --git a/backends/gp32/gp32.h b/backends/gp32/gp32.h
index b5a9db6ee3..9b32f64255 100644
--- a/backends/gp32/gp32.h
+++ b/backends/gp32/gp32.h
@@ -88,7 +88,7 @@ public:
// Set the size of the video bitmap.
// Typically, 320x200
- void initSize(uint w, uint h);
+ void initSize(uint w, uint h, int overlayScale);
int16 getHeight() { return _screenHeight; }
int16 getWidth() { return _screenWidth; }