mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 19:29:18 +01:00
b0352c301e
* Added 2 new Nintendont settings (CC Rumble and IPL choices). (Greywolf) * Updated all the sources to compile with devkitPPC r28 and r29-1. (Greywolf) * Fixed loading banners from EmuNAND with a long path. (Greywolf) * Updated Libcustomfat to 1.1.1 + Ustealth. (Greywolf, Cyan) * Added support for Open source HBC TitleID.
41 lines
740 B
C++
41 lines
740 B
C++
#ifndef _WBFS_WBFS_H
|
|
#define _WBFS_WBFS_H
|
|
|
|
#include "wbfs_base.h"
|
|
#include "libs/libwbfs/libwbfs.h"
|
|
#include "usbloader/wbfs.h"
|
|
#include "wbfs_rw.h"
|
|
|
|
class Wbfs_Wbfs: public Wbfs
|
|
{
|
|
public:
|
|
Wbfs_Wbfs(u32 device, u32 lba, u32 size, u32 port) :
|
|
Wbfs(device, lba, size, port)
|
|
{
|
|
}
|
|
|
|
s32 Open();
|
|
virtual void Close();
|
|
wbfs_disc_t* OpenDisc(u8 *);
|
|
void CloseDisc(wbfs_disc_t *);
|
|
|
|
s32 Format();
|
|
s32 GetCount(u32 *);
|
|
s32 GetHeaders(struct discHdr *, u32, u32);
|
|
|
|
s32 AddGame();
|
|
s32 RemoveGame(u8 *);
|
|
|
|
s32 DiskSpace(f32 *, f32 *);
|
|
|
|
s32 RenameGame(u8 *, const void *);
|
|
s32 ReIDGame(u8 *, const void *);
|
|
|
|
u64 EstimateGameSize();
|
|
s32 GetFragList(u8 *id);
|
|
private:
|
|
WBFS_PartInfo PartInfo;
|
|
};
|
|
|
|
#endif //_WBFS_WBFS_H
|