mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-26 05:04:16 +01:00
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
|