mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 18:31:56 +01:00
ce5930f297
* Updated to Hermes usb storage code * Fixed some bugs in ntfs while writing timestamps, resulting in different hashes (dimok) * Fixed codedump when switching partitions (issue 1454) * Fixed graphical glitch on 4:3 screens, where the prefetch cover was visible in the coverwall * Fixed a bug with installing games, due to the switch to C++ (dimok)
26 lines
587 B
C
26 lines
587 B
C
#ifndef _WBFS_RW_H
|
|
#define _WBFS_RW_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "libwbfs/libwbfs.h"
|
|
|
|
extern u32 sector_size;
|
|
extern rw_sector_callback_t readCallback;
|
|
extern rw_sector_callback_t writeCallback;
|
|
|
|
s32 __ReadDVD(void *fp, u32 lba, u32 len, void *iobuf);
|
|
s32 __ReadUSB(void *fp, u32 lba, u32 count, void *iobuf);
|
|
s32 __WriteUSB(void *fp, u32 lba, u32 count, void *iobuf);
|
|
s32 __ReadSDHC(void *fp, u32 lba, u32 count, void *iobuf);
|
|
s32 __WriteSDHC(void *fp, u32 lba, u32 count, void *iobuf);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif //_WBFS_RW_H
|