mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-05 02:55:07 +01: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)
20 lines
384 B
C
20 lines
384 B
C
#ifndef _USBSTORAGE_H_
|
|
#define _USBSTORAGE_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
/* Prototypes */
|
|
s32 USBStorage_GetCapacity(u32 *);
|
|
s32 USBStorage_Init(void);
|
|
void USBStorage_Deinit(void);
|
|
s32 USBStorage_ReadSectors(u32, u32, void *);
|
|
s32 USBStorage_WriteSectors(u32, u32, const void *);
|
|
extern const DISC_INTERFACE __io_wiiums;
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|