now game launchable on windows
This commit is contained in:
parent
e519c5a9ef
commit
b84ede2495
|
|
@ -110,7 +110,7 @@ void loadLanguageMetadata() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fontsFile);
|
//fclose(fontsFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -143,7 +143,7 @@ void loadLanguageMetadata() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fontSizesFile);
|
//fclose(fontSizesFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -272,7 +272,10 @@ int main(int argc, char *argv[]){
|
||||||
conf.read(argc, argv);
|
conf.read(argc, argv);
|
||||||
#if defined WIN32
|
#if defined WIN32
|
||||||
if(conf.Windows_AllocConsole == true){
|
if(conf.Windows_AllocConsole == true){
|
||||||
|
AllocConsole();
|
||||||
|
freopen("CONOUT$", "w", stdout);
|
||||||
|
freopen("CONOUT$", "w", stderr);
|
||||||
|
freopen("CONIN$", "r", stdin);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue