Use ArchHooks::SetUserQuit()

This commit is contained in:
Steve Checkoway
2005-12-17 13:03:04 +00:00
parent 2ab8fcd709
commit ee07c1d20d
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -5,7 +5,7 @@
#include "GameSoundManager.h"
#include "RageSound.h"
#include "RageLog.h"
#include "GameLoop.h"
#include "arch/ArchHooks/ArchHooks.h"
/* This screen used to wait for sounds to stop. However, implementing GetPlayingSounds()
* is annoying, because sounds might be deleted at any time; they aren't ours to have
@@ -20,7 +20,7 @@ void ScreenExit::Init()
{
m_Exited = false;
ExitGame();
ArchHooks::SetUserQuit();
/* It'd be better for any previous screen playing music to fade it out as it fades
* out the screen. XXX: Check to see if it's fading out; if it'll stop playing in
@@ -58,7 +58,7 @@ void ScreenExit::Update( float fDelta )
{
m_Exited = true;
LOG->Trace("ScreenExit: shutting down");
ExitGame();
ArchHooks::SetUserQuit();
}
#endif
}