mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-11-22 09:59:18 +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)
|
||||
return false;
|
||||
|
||||
char devname[10];
|
||||
sprintf(devname, "%s:", name);
|
||||
if(FindDevice(devname))
|
||||
return false;
|
||||
|
||||
if(!interface->startup())
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user