46#define STA_NOINIT 0x01
47#define STA_NODISK 0x02
48#define STA_PROTECT 0x04
55#define GET_SECTOR_COUNT 1
56#define GET_SECTOR_SIZE 2
57#define GET_BLOCK_SIZE 3
61#define SET_SECTOR_COUNT 126
DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
DSTATUS disk_initialize(BYTE pdrv)
DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
VOID disk_cleanup(BYTE pdrv)
DSTATUS disk_status(BYTE pdrv)
DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)
DSTATUS disk_openimage(BYTE pdrv, const char *imageFileName)
static unsigned char buff[32768]
GLuint GLuint GLsizei count