diff --git a/source/libfat.c b/source/libfat.c index 09aae70..cf60905 100644 --- a/source/libfat.c +++ b/source/libfat.c @@ -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;