don't log non-removable drives

This commit is contained in:
Glenn Maynard
2005-12-10 01:04:16 +00:00
parent db4cc8df2e
commit 48a313372b
@@ -100,14 +100,13 @@ bool MemoryCardDriverThreaded_Windows::DoOneUpdate( bool bMount, vector<UsbStora
continue;
CString sDrive = ssprintf( "%c:\\", 'a'+i%26 );
if( GetDriveType(sDrive) != DRIVE_REMOVABLE ) // is a removable drive
continue;
if( !sDrives.empty() )
sDrives += ", ";
sDrives += sDrive;
if( GetDriveType(sDrive) != DRIVE_REMOVABLE ) // is a removable drive
continue;
CString sVolumeLabel;
if( !TestReady(sDrive, sVolumeLabel) )
continue;