diff options
| author | Kostas Nakos | 2007-05-01 15:19:11 +0000 |
|---|---|---|
| committer | Kostas Nakos | 2007-05-01 15:19:11 +0000 |
| commit | d520bdfcb8f70e8fd4448ea404d9e5fa993f23ca (patch) | |
| tree | 02f62bc6edf88f832be0b4d28de483cc38d06dc8 /backends/platform/wince/CEDevice.cpp | |
| parent | 71a2910a81fba9812c6f894683a3be6144b043d5 (diff) | |
| download | scummvm-rg350-d520bdfcb8f70e8fd4448ea404d9e5fa993f23ca.tar.gz scummvm-rg350-d520bdfcb8f70e8fd4448ea404d9e5fa993f23ca.tar.bz2 scummvm-rg350-d520bdfcb8f70e8fd4448ea404d9e5fa993f23ca.zip | |
fix scaler selection for square (non vga) devices
svn-id: r26718
Diffstat (limited to 'backends/platform/wince/CEDevice.cpp')
| -rw-r--r-- | backends/platform/wince/CEDevice.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/wince/CEDevice.cpp b/backends/platform/wince/CEDevice.cpp index 9562dff5a9..e789c5edb6 100644 --- a/backends/platform/wince/CEDevice.cpp +++ b/backends/platform/wince/CEDevice.cpp @@ -73,6 +73,10 @@ void CEDevice::wakeUp() { } } +bool CEDevice::hasSquareQVGAResolution() { + return (OSystem_WINCE3::getScreenWidth() == 240 && OSystem_WINCE3::getScreenWidth() == 240); +} + bool CEDevice::hasPocketPCResolution() { if (OSystem_WINCE3::isOzone() && hasWideResolution()) return true; |
