...Asserting here causes crash if no cards after style select.
This commit is contained in:
@@ -284,7 +284,8 @@ void MemoryCardManager::MountCard( PlayerNumber pn )
|
||||
* reading the profile. Should never block; use FlushAndReset to block until writes complete. */
|
||||
void MemoryCardManager::UnmountCard( PlayerNumber pn )
|
||||
{
|
||||
ASSERT( !m_Device[pn].IsBlank() );
|
||||
if ( m_Device[pn].IsBlank() )
|
||||
return;
|
||||
|
||||
if( !m_bMounted[pn] )
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user