bool fatInitDefault (void) { #ifdef NDS return fatInit (NDS_DEFAULT_CACHE_PAGES, true); #else return fatInit (GBA_DEFAULT_CACHE_PAGES, true); #endif }
void initialise_fat(tDevice dev) { if (!fatInit(CACHE_PAGES, false)) { printf("Unable to initialise FAT subsystem. Are there any connected devices?\n"); pressAnyButton(); exit(0); } else { if (1) //!fatEnableReadAhead(getDeviceNum(dev), 64, 128)) printf("Could not enable FAT read-ahead caching on %s, speed will suffer...\n", getDeviceName(dev)); } }
void initInput() { fatInit(FAT_CACHE_SIZE, true); //fatInitDefault(); }
bool fatInitDefault (void) { return fatInit (DEFAULT_CACHE_PAGES, true); }