From 3c2eec0fbbd039c621878c70fb65dfcdd0ee4424 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Tue, 19 May 2009 07:52:17 +0000 Subject: [PATCH] *I replaced the (new) libogc in our download section with another one. Please get it. Its a newer one made from newest SVN thx to Drayx7. --- source/fatmounter.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/fatmounter.c b/source/fatmounter.c index 85f7a2f2..f39a821e 100644 --- a/source/fatmounter.c +++ b/source/fatmounter.c @@ -6,7 +6,8 @@ #include #include -#define CACHE 8 +#define CACHE 4 +#define SECTORS 64 int USBDevice_Init() @@ -14,7 +15,7 @@ int USBDevice_Init() //right now only mounts first partition and only under IOS36 __io_usbstorage.startup(); - if (fatMountSimple("USB", &__io_usbstorage)) { + if (fatMount("USB", &__io_usbstorage, 0, CACHE, SECTORS)) { return 1; } @@ -41,7 +42,7 @@ int SDCard_Init() if (!isSdInserted()){ return -1; } - if (fatMountSimple("SD", &__io_wiisd)) { + if (fatMount("SD", &__io_wiisd, 0, CACHE, SECTORS)) { return 1; } return -1;