mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +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;
|
||||
|
||||
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 @@ void operator delete(void *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