Remove graceful exit hook

Might as well stick with ExitProcess, seeing as this is how the game is exited on Xbox.
This commit is contained in:
Hyper
2024-10-18 09:02:21 +01:00
parent df919faa57
commit 8f80396b1f
4 changed files with 0 additions and 28 deletions

View File

@@ -2,7 +2,6 @@
#include <config.h>
#include <kernel/function.h>
#include <SDL_syswm.h>
#include "game.h"
bool m_isFullscreenKeyReleased = true;
@@ -11,7 +10,6 @@ int Window_OnSDLEvent(void*, SDL_Event* event)
// TODO (Hyper): prevent window changes during boot to avoid buffer resize crashes.
switch (event->type)
{
// TODO: use Game::Exit().
case SDL_QUIT:
ExitProcess(0);
break;