usbloadergx/source/usbloader/wbfs/wbfs_ext.h
dimok321 2213b45351 For all the Linux lovers:
*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.
2010-12-09 20:57:35 +00:00

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