don't pause memory cards in demonstration

This commit is contained in:
Glenn Maynard
2005-02-06 10:10:38 +00:00
parent ddae9b2242
commit 7d51ae8641
+2
View File
@@ -99,6 +99,7 @@ void ScreenGameplay::Init()
/* Pause MEMCARDMAN. If a memory card is remove, we don't want to interrupt the /* Pause MEMCARDMAN. If a memory card is remove, we don't want to interrupt the
* player by making a noise until the game finishes. */ * player by making a noise until the game finishes. */
if( !GAMESTATE->m_bDemonstrationOrJukebox )
MEMCARDMAN->PauseMountingThread(); MEMCARDMAN->PauseMountingThread();
if( GAMESTATE->m_bDemonstrationOrJukebox ) if( GAMESTATE->m_bDemonstrationOrJukebox )
@@ -784,6 +785,7 @@ ScreenGameplay::~ScreenGameplay()
LOG->Trace( "ScreenGameplay::~ScreenGameplay()" ); LOG->Trace( "ScreenGameplay::~ScreenGameplay()" );
if( !GAMESTATE->m_bDemonstrationOrJukebox )
MEMCARDMAN->UnPauseMountingThread(); MEMCARDMAN->UnPauseMountingThread();
FOREACH_PlayerNumber(p) FOREACH_PlayerNumber(p)