mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 17:29:17 +01:00
a3495651f0
*modified libcustomfat and ntfs fragment fetch function to support >512 bytes per sector *Added new ehcmodule (thanks rodries) *Added real support of using both ports simultaniously without shutting down the other (thanks rodries for the ehcmodule works on this). There is no longer the limitation that the settings have to be on SD card for this. (ONLY HERMES CIOS) *Moved a few settings to Feature Settings and added a new Hard Drive Settings *Changed Wiinnertag path to only point to the path and not to the file. You must correct the path manually in custom path settings or reset you configs for this change or Winnertag won't work!! *Removed a few compile warnings for devkitPPC R23
35 lines
808 B
C
35 lines
808 B
C
#ifndef _WBFS_RW_H
|
|
#define _WBFS_RW_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include <gccore.h>
|
|
#include "libs/libwbfs/libwbfs.h"
|
|
|
|
typedef struct _WBFS_PartInfo
|
|
{
|
|
u32 wbfs_sector_size;
|
|
u32 hdd_sector_size;
|
|
u32 partition_lba;
|
|
u32 partition_num_sec;
|
|
const DISC_INTERFACE * handle;
|
|
} WBFS_PartInfo;
|
|
|
|
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
|