mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-21 14:29:55 +00:00
now game launchable on windows
This commit is contained in:
parent
e519c5a9ef
commit
b84ede2495
2 changed files with 6 additions and 3 deletions
|
|
@ -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);
|
||||
#if defined WIN32
|
||||
if(conf.Windows_AllocConsole == true){
|
||||
|
||||
AllocConsole();
|
||||
freopen("CONOUT$", "w", stdout);
|
||||
freopen("CONOUT$", "w", stderr);
|
||||
freopen("CONIN$", "r", stdin);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue