void MountAllFAT() { #ifdef HW_RVL MountFAT(DEVICE_SD, SILENT); MountFAT(DEVICE_USB, SILENT); #else MountFAT(DEVICE_SD_SLOTA, SILENT); MountFAT(DEVICE_SD_SLOTB, SILENT); #endif }
/**************************************************************************** * ChangeInterface * Attempts to mount/configure the device specified ***************************************************************************/ bool ChangeInterface(int device, bool silent) { if(isMounted[device]) return true; bool mounted = false; switch(device) { #ifdef HW_RVL case DEVICE_SD: case DEVICE_USB: #else case DEVICE_SD_SLOTA: case DEVICE_SD_SLOTB: #endif mounted = MountFAT(device, silent); break; case DEVICE_DVD: mounted = MountDVD(silent); break; case DEVICE_SMB: mounted = ConnectShare(silent); break; } return mounted; }
/**************************************************************************** * ChangeInterface * Attempts to mount/configure the device specified ***************************************************************************/ bool ChangeInterface(int device, int retryCount ) { if(isMounted[device]) return true; bool mounted = false; switch(device) { case DEVICE_SD: case DEVICE_USB: mounted = MountFAT(device, retryCount); break; case DEVICE_SMB: mounted = ConnectShare(NET_RETRY_COUNT); break; } return mounted; }
void MountAllFAT() { int i; for(i = FAT_DEVICE_0; i < FAT_DEVICES_COUNT; i++) MountFAT( i ); }
void MountAllFAT() { MountFAT(DEVICE_SD, 1); MountFAT(DEVICE_USB, 1); }