mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-09-09 00:53:19 +02:00
![dimok321](/assets/img/avatar_default.png)
*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;
|
|
}
|