diff --git a/source/libfat.c b/source/libfat.c index cf60905..8d68cf2 100644 --- a/source/libfat.c +++ b/source/libfat.c @@ -76,7 +76,7 @@ bool fatMount (const char* name, const DISC_INTERFACE* interface, sec_t startSec char devname[10]; sprintf(devname, "%s:", name); - if(FindDevice(devname)) + if(FindDevice(devname) >= 0) return false; if(!interface->startup())