mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-10-02 03:35:09 +02:00
de2fbe11fa
IF YOU USE RETURN TO OPTION THEN THE UNEO TITLE MUST BE ON EMU NAND AS WELL FOR PARTIAL AND FULL EMULATION. *Added back our old font as fallback font in case the wii system font can't be loaded. Also the use of the Wii System Font can be disabled in the settings (don't forget to set font scale back to 1.0 for old font)
44 lines
677 B
C
44 lines
677 B
C
#ifndef _NAND_H_
|
|
#define _NAND_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* 'NAND Device' structure */
|
|
typedef struct {
|
|
/* Device name */
|
|
char *name;
|
|
|
|
/* Mode value */
|
|
u32 mode;
|
|
|
|
/* Un/mount command */
|
|
u32 mountCmd;
|
|
u32 umountCmd;
|
|
} nandDevice;
|
|
|
|
|
|
#define REAL_NAND 0
|
|
#define EMU_SD 1
|
|
#define EMU_USB 2
|
|
|
|
/* Prototypes */
|
|
s32 Nand_Mount(nandDevice *);
|
|
s32 Nand_Unmount(nandDevice *);
|
|
s32 Nand_Enable(nandDevice *);
|
|
s32 Nand_Disable(void);
|
|
s32 Enable_Emu(int selection);
|
|
s32 Disable_Emu();
|
|
|
|
void Set_Partition(int);
|
|
void Set_Path(const char*);
|
|
void Set_FullMode(int);
|
|
const char* Get_Path(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif
|