diff options
| author | Kostas Nakos | 2007-05-01 13:32:17 +0000 | 
|---|---|---|
| committer | Kostas Nakos | 2007-05-01 13:32:17 +0000 | 
| commit | 3da772c5b814123ec9c62ffdd31b8dcc808d089b (patch) | |
| tree | 2bf2d05a9be9b6b02c98c2ed3c8c29093b192def /backends/platform | |
| parent | 02721c609e9302654a09a8c106249a6403861fa8 (diff) | |
| download | scummvm-rg350-3da772c5b814123ec9c62ffdd31b8dcc808d089b.tar.gz scummvm-rg350-3da772c5b814123ec9c62ffdd31b8dcc808d089b.tar.bz2 scummvm-rg350-3da772c5b814123ec9c62ffdd31b8dcc808d089b.zip  | |
properly detect landscape qvga smartphones (whee\! broken sword on phones)
svn-id: r26713
Diffstat (limited to 'backends/platform')
| -rw-r--r-- | backends/platform/wince/CEDevice.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wince/CEDevice.cpp b/backends/platform/wince/CEDevice.cpp index 09c067ef15..9562dff5a9 100644 --- a/backends/platform/wince/CEDevice.cpp +++ b/backends/platform/wince/CEDevice.cpp @@ -76,13 +76,13 @@ void CEDevice::wakeUp() {  bool CEDevice::hasPocketPCResolution() {  	if (OSystem_WINCE3::isOzone() && hasWideResolution())  		return true; -	return (OSystem_WINCE3::getScreenWidth() < 320 && OSystem_WINCE3::getScreenWidth() >= 240); +	return (OSystem_WINCE3::getScreenWidth() <= 320 && OSystem_WINCE3::getScreenWidth() >= 240);  }  bool CEDevice::hasDesktopResolution() {  	if (OSystem_WINCE3::isOzone() && hasWideResolution())  		return true; -	return (OSystem_WINCE3::getScreenWidth() >= 320); +	return (OSystem_WINCE3::getScreenWidth() > 320);  }  bool CEDevice::hasWideResolution() {  | 
