usbloadergx/source/usbloader/wbfs/wbfs_wbfs.h
dimok321 4f7ccef2ec *Changes running games from WBFS. It is now done through fragment lists like on ntfs/fat/ext. This enables support for multiple wbfs partitions even with waninkokos cios which normally doesn't support that. This is not supported by Waninokos IOS < R18. It continues to only support one partition!
*Added initialized too all the cheat variables (that was bad...i wonder how it didn't go wrong)
*Corrected several theme texts (x, y position mistype)
*Added "Default" button to theme downloader to reset the theme
*Fixed bug in loading language file with fresh configs
*Fixed display of theme path in custom path options
*Fixed rockout reset after leaving the GameWindowPrompt
*Added limit to page indicators to 5 and rotate them
2011-01-07 22:42:03 +00:00

37 lines
753 B
C++

#ifndef _WBFS_WBFS_H
#define _WBFS_WBFS_H
#include "wbfs_base.h"
#include "libs/libwbfs/libwbfs.h"
class Wbfs_Wbfs: public Wbfs
{
public:
Wbfs_Wbfs(u32 device, u32 lba, u32 size) :
Wbfs(device, lba, size)
{
}
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 *);
f32 EstimateGameSize();
int GetFragList(u8 *id);
};
#endif //_WBFS_WBFS_H