mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-25 01:33:50 +00:00
Windows: More proper shutdown
This commit is contained in:
parent
b865228eed
commit
3db164d913
3 changed files with 5 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ CConsoleMinecraftApp app;
|
|||
|
||||
CConsoleMinecraftApp::CConsoleMinecraftApp() : CMinecraftApp()
|
||||
{
|
||||
m_bShutdown = false;
|
||||
}
|
||||
|
||||
void CConsoleMinecraftApp::SetRichPresenceContext(int iPad, int contextId)
|
||||
|
|
@ -26,8 +27,7 @@ void CConsoleMinecraftApp::StoreLaunchData()
|
|||
}
|
||||
void CConsoleMinecraftApp::ExitGame()
|
||||
{
|
||||
// This is likely not the correct way to exit the game, but it will do for now
|
||||
ExitProcess(0);
|
||||
m_bShutdown = true;
|
||||
}
|
||||
void CConsoleMinecraftApp::FatalLoadError()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue