From 7d51ae86415ed756c134d2f1049ef1fe9b4dac47 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Feb 2005 10:10:38 +0000 Subject: [PATCH] don't pause memory cards in demonstration --- stepmania/src/ScreenGameplay.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index cc2ee9c041..9b8d90b0ac 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -99,7 +99,8 @@ void ScreenGameplay::Init() /* Pause MEMCARDMAN. If a memory card is remove, we don't want to interrupt the * player by making a noise until the game finishes. */ - MEMCARDMAN->PauseMountingThread(); + if( !GAMESTATE->m_bDemonstrationOrJukebox ) + MEMCARDMAN->PauseMountingThread(); if( GAMESTATE->m_bDemonstrationOrJukebox ) LIGHTSMAN->SetLightsMode( LIGHTSMODE_DEMONSTRATION ); @@ -784,7 +785,8 @@ ScreenGameplay::~ScreenGameplay() LOG->Trace( "ScreenGameplay::~ScreenGameplay()" ); - MEMCARDMAN->UnPauseMountingThread(); + if( !GAMESTATE->m_bDemonstrationOrJukebox ) + MEMCARDMAN->UnPauseMountingThread(); FOREACH_PlayerNumber(p) {