From 5d954e565990197cf4ebb44c616db27b4f7a0722 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 3 Oct 2004 05:49:10 +0000 Subject: [PATCH] don't mount unless the profile was loaded from a memory card --- stepmania/src/ScreenEvaluation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index 8cf5578d47..13c56023f9 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -1353,7 +1353,7 @@ void ScreenEvaluation::Input( const DeviceInput& DeviceI, const InputEventType t if( !m_bSavedScreenshot[pn] && // only allow one screenshot PROFILEMAN->IsUsingProfile(pn) ) { - if( PREFSMAN->m_bMemoryCardsMountOnlyWhenNecessary ) + if( PROFILEMAN->ProfileWasLoadedFromMemoryCard(pn) && PREFSMAN->m_bMemoryCardsMountOnlyWhenNecessary ) MEMCARDMAN->MountCard( pn ); Profile* pProfile = PROFILEMAN->GetProfile(pn); @@ -1362,7 +1362,7 @@ void ScreenEvaluation::Input( const DeviceInput& DeviceI, const InputEventType t CString sFileName = SaveScreenshot( sDir, true, true, iScreenshotIndex ); CString sPath = sDir+sFileName; - if( PREFSMAN->m_bMemoryCardsMountOnlyWhenNecessary ) + if( PROFILEMAN->ProfileWasLoadedFromMemoryCard(pn) && PREFSMAN->m_bMemoryCardsMountOnlyWhenNecessary ) MEMCARDMAN->UnmountCard( pn ); if( !sFileName.empty() )