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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user