2010-02-15 00:22:52 +01:00
|
|
|
#ifndef _WBFS_WBFS_H
|
|
|
|
#define _WBFS_WBFS_H
|
|
|
|
|
|
|
|
#include "wbfs_base.h"
|
|
|
|
#include "libwbfs/libwbfs.h"
|
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
class Wbfs_Wbfs: public Wbfs
|
2010-02-15 00:22:52 +01:00
|
|
|
{
|
2010-09-19 01:16:05 +02:00
|
|
|
public:
|
2010-09-24 02:48:03 +02:00
|
|
|
Wbfs_Wbfs(u32 device, u32 lba, u32 size) :
|
|
|
|
Wbfs(device, lba, size)
|
|
|
|
{
|
|
|
|
}
|
2010-02-15 00:22:52 +01:00
|
|
|
|
2010-09-19 01:16:05 +02:00
|
|
|
s32 Open();
|
2010-09-24 02:48:03 +02:00
|
|
|
wbfs_disc_t* OpenDisc(u8 *);
|
|
|
|
void CloseDisc(wbfs_disc_t *);
|
2010-02-22 22:29:47 +01:00
|
|
|
|
2010-09-19 01:16:05 +02:00
|
|
|
s32 Format();
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 GetCount(u32 *);
|
|
|
|
s32 GetHeaders(struct discHdr *, u32, u32);
|
2010-02-22 22:29:47 +01:00
|
|
|
|
2010-09-19 01:16:05 +02:00
|
|
|
s32 AddGame();
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 RemoveGame(u8 *);
|
2010-02-22 22:29:47 +01:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 DiskSpace(f32 *, f32 *);
|
2010-02-22 22:29:47 +01:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 RenameGame(u8 *, const void *);
|
|
|
|
s32 ReIDGame(u8 *, const void *);
|
2010-02-22 22:29:47 +01:00
|
|
|
|
2010-09-19 01:16:05 +02:00
|
|
|
f32 EstimateGameSize();
|
2010-02-15 00:22:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //_WBFS_WBFS_H
|