mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-09 18:21:38 +00:00
Get rid of additional version #define, default is now to disable HPC GameX (does it even work ?)
svn-id: r8986
This commit is contained in:
parent
4a3f0b547d
commit
dce546c241
@ -667,14 +667,11 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLin
|
|||||||
|
|
||||||
FILE *test;
|
FILE *test;
|
||||||
|
|
||||||
test = fopen("NoGameX", "r");
|
test = fopen("GameX", "r");
|
||||||
if (test) {
|
if (!test)
|
||||||
noGAPI = 1;
|
noGAPI = 1;
|
||||||
fclose(test);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
if (g_config->getBool("NoGameX", false, "wince"))
|
fclose(test);
|
||||||
noGAPI = 1;
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1908,4 +1905,15 @@ void operator delete(void *ptr) {
|
|||||||
free(ptr);
|
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;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user