mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-08 20:45:07 +01:00
7bccfd2b17
*Removed the console loading screen (no more console at all) *Complete rework of device handle. You need to reset all your custom paths for this rev. *Support for writing images/settings/... on any writable partition (FAT/NTFS/EXT). (Theoretically you can run the loader from NTFS only without the need of any other partition or SD if run from new forwarder channel, for example) *Support for Primary/Logical partitions and GUID Partition Table (GPT) Forwarder Channel in last revision was not using IOS58 (not sure about AHBPROT) Here a corrected version (thx to Cyan): http://www.mediafire.com/?a9y3ywqcm4v3lz3
19 lines
291 B
C++
19 lines
291 B
C++
#include <ext2.h>
|
|
#include "usbloader/usbstorage2.h"
|
|
#include "wbfs_ext.h"
|
|
|
|
extern int wbfs_part_fs;
|
|
sec_t ext_wbfs_sec = 0;
|
|
|
|
s32 Wbfs_Ext::Open()
|
|
{
|
|
s32 ret = Wbfs_Fat::Open();
|
|
if(ret == 0)
|
|
{
|
|
ext_wbfs_sec = lba;
|
|
wbfs_part_fs = PART_FS_EXT;
|
|
}
|
|
|
|
return 0;
|
|
}
|