fix thread busy looping if bus/usb/devices isn't available

This commit is contained in:
Glenn Maynard
2004-07-17 20:44:37 +00:00
parent fcf46a9f61
commit c81e737d85
@@ -171,7 +171,10 @@ void MemoryCardDriverThreaded_Linux::ResetUsbStorage()
void MemoryCardDriverThreaded_Linux::MountThreadDoOneUpdate()
{
if( m_fd == -1 )
{
usleep( 50000 );
return;
}
if( m_bForceRedetect )
{