mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-16 00:15:08 +01:00
e9423c807e
Strategy to find the boot.dol from "USB Loader GX": 1. looking for "/config/GXGlobal.cfg" first on "SD:/" and then on "USB:/" 2.1. when cfg is found and update_path is set, then searches for "boot.dol"/"boot.elf" in "update_path" 2.2. when cfg isn't found or update_path isn't set, then looking for "boot.dol"/"boot.elf" in "apps/usbloader_gx/" first on "SD:/" and then on "USB:/" 3. if the Loader is found, then LOAD and RUN it. Otherwise exits the for-warder Primarily searched on SD-Card. This makes easier to test new versions.
20 lines
251 B
C
20 lines
251 B
C
#ifndef _FATMOUNTER_H_
|
|
#define _FATMOUNTER_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
int USBDevice_Init();
|
|
void USBDevice_deInit();
|
|
int isSdInserted();
|
|
int SDCard_Init();
|
|
void SDCard_deInit();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|