don't pause memory cards in demonstration
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user