load profile from memory card, fix memory card file flushing

This commit is contained in:
Chris Danford
2003-12-19 08:17:44 +00:00
parent c8419edfec
commit 67a6fddcf3
10 changed files with 31 additions and 25 deletions
+13 -1
View File
@@ -206,4 +206,16 @@ match:
m_soundReady.Play();
}
}
}
}
void MemoryCardManager::FlushAllDisks()
{
for( int p=0; p<NUM_PLAYERS; p++ )
{
if( !m_Device[p].IsBlank() ) // they already have an assigned card
continue; // skip
if( m_bWriteError[p] || m_bTooLate[p] )
continue; // skip
m_pDriver->Flush(&m_Device[p]);
}
}