usbloadergx/source/usbloader/sdhc.h
wiidev df76e45150 Add SD card mode
- This allows you to play your Wii games from an SD card
- It currently only supports 1 partition
- I've tested it with a 256GB Amazon Basics microSDXC card
2023-01-01 17:00:35 +00:00

23 lines
310 B
C

#ifndef _SDHC_H_
#define _SDHC_H_
/* Constants */
#define SDHC_SECTOR_SIZE 0x200
#ifdef __cplusplus
extern "C"
{
#endif
/* Prototypes */
bool SDHC_Init(void);
bool SDHC_Close(void);
bool SDHC_ReadSectors(u32, u32, void *);
bool SDHC_WriteSectors(u32, u32, void *);
#ifdef __cplusplus
}
#endif
#endif