[Scummvm-cvs-logs] CVS: scummvm/backends/PalmOS/Src palmgfx.cpp,1.3,1.4
Chris Apers
chrilith at users.sourceforge.net
Tue Nov 9 02:56:01 CET 2004
Update of /cvsroot/scummvm/scummvm/backends/PalmOS/Src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3637
Modified Files:
palmgfx.cpp
Log Message:
Check width instead of height, and use newly added header files
Index: palmgfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/PalmOS/Src/palmgfx.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- palmgfx.cpp 12 Sep 2004 13:09:40 -0000 1.3
+++ palmgfx.cpp 9 Nov 2004 10:54:45 -0000 1.4
@@ -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 @@
#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)) {
More information about the Scummvm-git-logs
mailing list