...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. */
|
* 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user