mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-26 05:04:16 +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
20 lines
316 B
C++
20 lines
316 B
C++
#include <ntfs.h>
|
|
#include <locale.h>
|
|
#include "wbfs_ntfs.h"
|
|
#include "usbloader/usbstorage2.h"
|
|
|
|
extern int wbfs_part_fs;
|
|
sec_t ntfs_wbfs_sec = 0;
|
|
|
|
s32 Wbfs_Ntfs::Open()
|
|
{
|
|
s32 ret = Wbfs_Fat::Open();
|
|
if(ret == 0)
|
|
{
|
|
ntfs_wbfs_sec = lba;
|
|
wbfs_part_fs = PART_FS_NTFS;
|
|
}
|
|
|
|
return 0;
|
|
}
|