Exemple #1
0
bool fatInitDefault (void) {
#ifdef NDS
	return fatInit (NDS_DEFAULT_CACHE_PAGES, true);
#else
	return fatInit (GBA_DEFAULT_CACHE_PAGES, true);
#endif
}
Exemple #2
0
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));

    }
}
Exemple #3
0
void initInput()
{
    fatInit(FAT_CACHE_SIZE, true);
    //fatInitDefault();
}
Exemple #4
0
bool fatInitDefault (void) {
	return fatInit (DEFAULT_CACHE_PAGES, true);
}