From 9b55efe66da5893e8dec8d5bec6e743ab541974f Mon Sep 17 00:00:00 2001 From: tantricity Date: Sat, 19 Jun 2010 08:12:39 +0000 Subject: [PATCH] fix --- source/libfat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())