mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Removes console from Windows release builds. (#1536)
This commit is contained in:
parent
d83c6f1753
commit
d628bafe29
5 changed files with 42 additions and 10 deletions
|
@ -38,7 +38,11 @@ void Main_LogSystemHeap(void) {
|
|||
osSyncPrintf(VT_RST);
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hInstPrev, PSTR cmdline, int cmdshow)
|
||||
#else
|
||||
int main(int argc, char** argv)
|
||||
#endif
|
||||
{
|
||||
#ifdef __linux__
|
||||
SetupHandlerLinux();
|
||||
|
@ -49,6 +53,7 @@ int main(int argc, char** argv)
|
|||
GameConsole_Init();
|
||||
InitOTR();
|
||||
BootCommands_Init();
|
||||
|
||||
Main(0);
|
||||
DeinitOTR();
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue