mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-24 09:02:25 +01:00
Force lower caching value on libfat
This commit is contained in:
parent
efc57b17e0
commit
fc703e55da
@ -4,9 +4,13 @@
|
|||||||
#include <fat.h>
|
#include <fat.h>
|
||||||
#include "common/retain_vars.h"
|
#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 mount_libfatAll() {
|
||||||
int32_t res = -1;
|
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");
|
DEBUG_FUNCTION_LINE("fatInitDefault success\n");
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user