mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 18:31:56 +01:00
2213b45351
*Added support for EXT2/EXT3/EXT4 file systems: You can boot games from this file systems too now. Works the same way as FAT32/NTFS. Just put your games into drive:/wbfs/ with the known supported folder names.
26 lines
466 B
C++
26 lines
466 B
C++
#ifndef _WBFS_EXT_H
|
|
#define _WBFS_EXT_H
|
|
|
|
#include <ext2.h>
|
|
#include "wbfs_fat.h"
|
|
#include "fatmounter.h"
|
|
|
|
class Wbfs_Ext: public Wbfs_Fat
|
|
{
|
|
public:
|
|
Wbfs_Ext(u32 device, u32 lba, u32 size) :
|
|
Wbfs_Fat(device, lba, size)
|
|
{
|
|
}
|
|
|
|
virtual s32 Open()
|
|
{
|
|
strcpy(wbfs_fs_drive, "EXT:");
|
|
return MountEXT(lba);
|
|
};
|
|
|
|
bool ShowFreeSpace(void) { return true; };
|
|
};
|
|
|
|
#endif //_WBFS_NTFS_H
|