195 printf(
"fseek failed!\n");
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)
const int driveHandleCount
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
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
_Check_return_opt_ _CRTIMP size_t __cdecl fread(_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fseek(_Inout_ FILE *_File, _In_ long _Offset, _In_ int _Origin)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_Check_return_ _CRTIMP long __cdecl ftell(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP size_t __cdecl fwrite(_In_reads_bytes_(_Size *_Count) const void *_Str, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)