Preliminary mid-asm hook for gracefully exiting the game

This commit is contained in:
Hyper
2024-10-17 16:08:53 +01:00
parent b7b18f7476
commit f68f720b17
5 changed files with 28 additions and 0 deletions
+12
View File
@@ -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;
}