mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 18:31:56 +01:00
f1febd91be
*Fixed Font loading. The font.ttf is loaded from the path with .thems if it exists there. When a Theme is loaded and a font.ttf file exists in the defined "Image-Folder:" than this font.ttf will override all others. This ensures support for themes with special fonts. *Fixed double count on playcount bug *Updated libext2fs to git snapshot 2010-12-24 *Added proper close of all file systems where the games are loaded from (FAT32/NTFS/EXT) *Fixed hang bug when reloading into the IOS set in the individual game settings with that (reload to 223, 224, 245, ...)
36 lines
720 B
C++
36 lines
720 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();
|
|
};
|
|
|
|
#endif //_WBFS_WBFS_H
|