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

@@ -1,23 +1,11 @@
#include <cpu/guest_code.h>
#include "api/SWA.h"
#include "ui/window.h"
#include "game.h"
constexpr float m_baseAspectRatio = 16.0f / 9.0f;
uint32_t m_lastCheckpointScore = 0;
void Game::Exit()
{
s_isSignalExit = true;
}
bool GracefulLoopExitMidAsmHook()
{
// TODO (Sajid): investigate XAM handle closing causing assertion failure here.
return Game::s_isSignalExit;
}
#pragma region Aspect Ratio Hooks
bool CameraAspectRatioMidAsmHook(PPCRegister& r31)