[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince.cpp,1.13,1.14
Nicolas Bacca
arisme at users.sourceforge.net
Sun Jul 13 08:12:17 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv7912
Modified Files:
wince.cpp
Log Message:
Get rid of additional version #define, default is now to disable HPC GameX (does it even work ?)
Index: wince.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- wince.cpp 13 Jul 2003 12:34:55 -0000 1.13
+++ wince.cpp 13 Jul 2003 15:11:48 -0000 1.14
@@ -667,14 +667,11 @@
FILE *test;
- test = fopen("NoGameX", "r");
- if (test) {
+ test = fopen("GameX", "r");
+ if (!test)
noGAPI = 1;
- fclose(test);
- }
else
- if (g_config->getBool("NoGameX", false, "wince"))
- noGAPI = 1;
+ fclose(test);
#endif
@@ -1908,4 +1905,15 @@
free(ptr);
}
+const char* getBuildDate() {
+ static char buildDate[100];
+ int i;
+
+ strcpy(buildDate, __DATE__);
+ for (i=strlen(buildDate) - 1; buildDate[i] != ' '; i--)
+ buildDate[i] = '\0';
+ strcat(buildDate, __TIME__);
+ buildDate[strlen(buildDate) - 3] = '\0';
+ return buildDate;
+}
More information about the Scummvm-git-logs
mailing list