aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/os5_gfx.cpp
diff options
context:
space:
mode:
authorChris Apers2007-06-16 10:37:59 +0000
committerChris Apers2007-06-16 10:37:59 +0000
commit7a5b89309e22f0ff71e6c13f04fef8c85c243afd (patch)
tree2f840ae51df44c46c264e70a2d8559f27a8f2157 /backends/platform/PalmOS/Src/os5_gfx.cpp
parent6e9200f73944ac5ad56efa40201375dc508b0bcc (diff)
downloadscummvm-rg350-7a5b89309e22f0ff71e6c13f04fef8c85c243afd.tar.gz
scummvm-rg350-7a5b89309e22f0ff71e6c13f04fef8c85c243afd.tar.bz2
scummvm-rg350-7a5b89309e22f0ff71e6c13f04fef8c85c243afd.zip
Use the old and faster 1.5x scaler when available
svn-id: r27455
Diffstat (limited to 'backends/platform/PalmOS/Src/os5_gfx.cpp')
-rw-r--r--backends/platform/PalmOS/Src/os5_gfx.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/PalmOS/Src/os5_gfx.cpp b/backends/platform/PalmOS/Src/os5_gfx.cpp
index 247acf6f46..cff9e79abe 100644
--- a/backends/platform/PalmOS/Src/os5_gfx.cpp
+++ b/backends/platform/PalmOS/Src/os5_gfx.cpp
@@ -137,9 +137,13 @@ void OSystem_PalmOS5::hotswap_gfx_mode(int mode) {
}
if (_stretched) {
- calc_scale();
OPTIONS_SET(kOptDisableOnScrDisp);
- _render = &OSystem_PalmOS5::render_landscapeAny;
+ if (_screenHeight == 200 && _screenDest.h == 300) {
+ _render = &OSystem_PalmOS5::render_landscape15x;
+ } else {
+ _render = &OSystem_PalmOS5::render_landscapeAny;
+ calc_scale();
+ }
} else {
OPTIONS_RST(kOptDisableOnScrDisp);
_render = &OSystem_PalmOS5::render_1x;