From 6c9cc1b27389d54484afa911f52cab6bd9bbe1c3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 22 Feb 2005 03:58:22 +0000 Subject: [PATCH] disable MemoryCardManager::FlushAndReset --- stepmania/src/MemoryCardManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/MemoryCardManager.cpp b/stepmania/src/MemoryCardManager.cpp index 56b7474b6e..859a7f76c2 100644 --- a/stepmania/src/MemoryCardManager.cpp +++ b/stepmania/src/MemoryCardManager.cpp @@ -632,6 +632,11 @@ void MemoryCardManager::UnmountCard( PlayerNumber pn ) void MemoryCardManager::FlushAndReset() { + /* + * Disabled for now. Currently, this is a no-op in Linux. It's a little + * tricky: we set the timeout period in Mount, and finish in Unmount, and + * this is called outside that; currently, flushing is done by Unmount. + * I think that's OK and this will probably go away, but I'm not sure yet. FOREACH_PlayerNumber( p ) { UsbStorageDevice &d = m_Device[p]; @@ -643,6 +648,7 @@ void MemoryCardManager::FlushAndReset() } g_pWorker->Reset(); // forces cards to be re-detected + */ } bool MemoryCardManager::PathIsMemCard( CString sDir ) const