mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-11-26 03:44:15 +01:00
check if devoptab exists. if yes, return false.
This commit is contained in:
parent
fd85021971
commit
77fecb0cd9
@ -74,6 +74,11 @@ bool fatMount (const char* name, const DISC_INTERFACE* interface, sec_t startSec
|
|||||||
if(!name || !interface)
|
if(!name || !interface)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
char devname[10];
|
||||||
|
sprintf(devname, "%s:", name);
|
||||||
|
if(FindDevice(devname))
|
||||||
|
return false;
|
||||||
|
|
||||||
if(!interface->startup())
|
if(!interface->startup())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user