diff options
author | Chris Apers | 2004-11-09 10:54:45 +0000 |
---|---|---|
committer | Chris Apers | 2004-11-09 10:54:45 +0000 |
commit | 77618b5974c3c42770c45bd07855528828550473 (patch) | |
tree | c403f05c5bec028de7f012bf9ba16076014e59c8 /backends | |
parent | 05da0f8eb83d7276f61b14fff745039f0ecc7b0f (diff) | |
download | scummvm-rg350-77618b5974c3c42770c45bd07855528828550473.tar.gz scummvm-rg350-77618b5974c3c42770c45bd07855528828550473.tar.bz2 scummvm-rg350-77618b5974c3c42770c45bd07855528828550473.zip |
Check width instead of height, and use newly added header files
svn-id: r15747
Diffstat (limited to 'backends')
-rw-r--r-- | backends/PalmOS/Src/palmgfx.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/palmgfx.cpp b/backends/PalmOS/Src/palmgfx.cpp index 1761d17b91..66b4aff172 100644 --- a/backends/PalmOS/Src/palmgfx.cpp +++ b/backends/PalmOS/Src/palmgfx.cpp @@ -27,7 +27,7 @@ #include "common/config-manager.h" #include <BmpGlue.h> -#include "start.h" // appFileCreator +#include "palmdefs.h" #include "features.h" #include "globals.h" @@ -36,6 +36,7 @@ #include "i_zodiac.h" #endif +#include "init_arm.h" #include "arm/native.h" #include "arm/macros.h" @@ -188,8 +189,8 @@ void OSystem_PALMOS::load_gfx_mode() { #endif if (std) { // 640x480 only on Zodiac and in GFX_WIDE mode - if (_screenHeight == 480) - error("640x480 game can only be run on Zodiac in wide mode."); + if (_screenWidth == 640) + error("640x480 games can only be run on Zodiac in wide mode."); // only for 320x200 games if (!(_screenWidth == 320 && _screenHeight == 200)) { |