WiiFlow_Lite/source/devicemounter/sdhc.h

27 lines
415 B
C
Raw Normal View History

#ifdef __cplusplus
extern "C"
{
#endif
2012-01-21 21:57:41 +01:00
#ifndef _SDHC_H_
#define _SDHC_H_
/* Constants */
#define SDHC_SECTOR_SIZE 0x200
/* Disc interfaces */
extern const DISC_INTERFACE __io_sdhc;
/* Prototypes */
bool SDHC_Init(void);
bool SDHC_Close(void);
bool SDHC_ReadSectors(u32, u32, void *);
bool SDHC_WriteSectors(u32, u32, void *);
extern int sdhc_mode_sd;
extern int sdhc_inited;
#endif
#ifdef __cplusplus
}
#endif