From 85688f9afc93a3cc49661cafe52007b8bc3878c9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 17 Apr 2004 01:02:54 +0000 Subject: [PATCH] remove devices with no matched mountpoint --- .../MemoryCard/MemoryCardDriverThreaded_Linux.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp b/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp index b9ecae74c4..c9eb7a7353 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp @@ -340,6 +340,18 @@ void GetNewStorageDevices( vector& vDevicesOut ) } } } + + /* Remove any devices that we couldn't find a mountpoint for. */ + for( unsigned i=0; i