mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-25 07:23:23 -04:00
Preliminary mid-asm hook for gracefully exiting the game
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "game.h"
|
||||
|
||||
void Game::Exit()
|
||||
{
|
||||
s_isSignalExit = true;
|
||||
}
|
||||
|
||||
bool GracefulLoopExitMidAsmHook()
|
||||
{
|
||||
// TODO (Sajid): investigate XAM handle closing causing assertion failure here.
|
||||
return Game::s_isSignalExit;
|
||||
}
|
||||
Reference in New Issue
Block a user