mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-10-03 12:15:08 +02:00
f5e6663784
Boot-Strategy: - is "argv[0]" set, then the boot-device extracted from the argv. - if no meaningful boot device found, then looking for "boot.dol"/"boot.elf" in "apps/usbloader_gx/" first on "SD:/" and then on "USB:/". When found, than use this Device. Otherwise use the default "SD:" - Set all default-Paths on this Device - Set the Path for config-Folder, GXGlobal.cfg, GXGameSettings.cfg and GXGameFavorites.cfg on this Device (e.g. USB:/config and so on)
21 lines
286 B
C
21 lines
286 B
C
#ifndef _FATMOUNTER_H_
|
|
#define _FATMOUNTER_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
int USBDevice_Init();
|
|
void USBDevice_deInit();
|
|
int isSdInserted();
|
|
int isInserted(const char *path);
|
|
int SDCard_Init();
|
|
void SDCard_deInit();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|