add sleep to wait for OS mount to finish
This commit is contained in:
@@ -51,6 +51,8 @@ bool MemoryCardDriver_Linux::StorageDevicesChanged()
|
|||||||
|
|
||||||
void MemoryCardDriver_Linux::GetStorageDevices( vector<UsbStorageDevice>& vDevicesOut )
|
void MemoryCardDriver_Linux::GetStorageDevices( vector<UsbStorageDevice>& vDevicesOut )
|
||||||
{
|
{
|
||||||
|
sleep(1);
|
||||||
|
|
||||||
/* If we couldn't open it before, we probably can't open it now; don't
|
/* If we couldn't open it before, we probably can't open it now; don't
|
||||||
* output more errors. */
|
* output more errors. */
|
||||||
if( m_fds == -1 )
|
if( m_fds == -1 )
|
||||||
|
|||||||
Reference in New Issue
Block a user