fix thread busy looping if bus/usb/devices isn't available
This commit is contained in:
@@ -171,7 +171,10 @@ void MemoryCardDriverThreaded_Linux::ResetUsbStorage()
|
||||
void MemoryCardDriverThreaded_Linux::MountThreadDoOneUpdate()
|
||||
{
|
||||
if( m_fd == -1 )
|
||||
{
|
||||
usleep( 50000 );
|
||||
return;
|
||||
}
|
||||
|
||||
if( m_bForceRedetect )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user