wiiu-nanddumper-payload/ios_fs/source/sdio.h

13 lines
324 B
C
Raw Normal View History

2016-12-12 19:31:02 +01:00
#ifndef _SDIO_H_
#define _SDIO_H_
#define SDIO_WRITE 0
#define SDIO_READ 1
void sdcard_init(void);
void sdcard_lock_mutex(void);
void sdcard_unlock_mutex(void);
int sdcard_readwrite(int is_read, void *data, u32 cnt, u32 block_size, u32 offset_blocks, int * out_callback_arg, int device_id);
#endif // _SDIO_H_