...Asserting here causes crash if no cards after style select.

This commit is contained in:
Charles Lohr
2005-01-29 01:57:53 +00:00
parent c53fbf3956
commit 6ba323cfde
+2 -1
View File
@@ -284,7 +284,8 @@ void MemoryCardManager::MountCard( PlayerNumber pn )
* reading the profile. Should never block; use FlushAndReset to block until writes complete. */ * reading the profile. Should never block; use FlushAndReset to block until writes complete. */
void MemoryCardManager::UnmountCard( PlayerNumber pn ) void MemoryCardManager::UnmountCard( PlayerNumber pn )
{ {
ASSERT( !m_Device[pn].IsBlank() ); if ( m_Device[pn].IsBlank() )
return;
if( !m_bMounted[pn] ) if( !m_bMounted[pn] )
return; return;