[Scummvm-cvs-logs] SF.net SVN: scummvm: [26713] scummvm/trunk/backends/platform/wince/CEDevice .cpp
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Tue May 1 15:32:18 CEST 2007
Revision: 26713
http://scummvm.svn.sourceforge.net/scummvm/?rev=26713&view=rev
Author: knakos
Date: 2007-05-01 06:32:17 -0700 (Tue, 01 May 2007)
Log Message:
-----------
properly detect landscape qvga smartphones (whee\! broken sword on phones)
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/CEDevice.cpp
Modified: scummvm/trunk/backends/platform/wince/CEDevice.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEDevice.cpp 2007-05-01 13:15:34 UTC (rev 26712)
+++ scummvm/trunk/backends/platform/wince/CEDevice.cpp 2007-05-01 13:32:17 UTC (rev 26713)
@@ -76,13 +76,13 @@
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() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list