unmount drive on memory card disconnect

This commit is contained in:
Chris Danford
2004-03-20 22:16:57 +00:00
parent 8d435c2b4d
commit f978af080d
5 changed files with 10 additions and 1 deletions
+2
View File
@@ -99,6 +99,8 @@ void MemoryCardManager::Update( float fDelta )
if( PROFILEMAN->ProfileWasLoadedFromMemoryCard((PlayerNumber)p) )
PROFILEMAN->UnloadProfile( (PlayerNumber)p );
m_pDriver->Unmount(&m_Device[p], MEM_CARD_MOUNT_POINT[p]);
}
}
}