mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 19:19:43 -06:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user