diff --git a/loader/src/myutils/libfat.cpp b/loader/src/myutils/libfat.cpp index 6b54de2..5819f92 100644 --- a/loader/src/myutils/libfat.cpp +++ b/loader/src/myutils/libfat.cpp @@ -4,9 +4,13 @@ #include #include "common/retain_vars.h" +#define LIBFAT_WIIU_DEFAULT_CACHE_PAGES 4 +#define LIBFAT_WIIU_DEFAULT_SECTORS_PAGE 64 + + int32_t mount_libfatAll() { int32_t res = -1; - if((res = fatInitDefault()) >= 0) { + if((res = fatInitEx (LIBFAT_WIIU_DEFAULT_CACHE_PAGES, true, LIBFAT_WIIU_DEFAULT_SECTORS_PAGE)) >= 0) { DEBUG_FUNCTION_LINE("fatInitDefault success\n"); return 0; } else {