2010-12-28 18:02:10 +01:00
|
|
|
#include <ntfs.h>
|
|
|
|
#include <locale.h>
|
2010-11-07 13:16:34 +01:00
|
|
|
#include "wbfs_ntfs.h"
|
2010-12-28 18:02:10 +01:00
|
|
|
#include "usbloader/usbstorage2.h"
|
|
|
|
|
2010-12-31 00:49:22 +01:00
|
|
|
extern int wbfs_part_fs;
|
2010-12-28 18:02:10 +01:00
|
|
|
sec_t ntfs_wbfs_sec = 0;
|
2010-11-07 13:16:34 +01:00
|
|
|
|
|
|
|
s32 Wbfs_Ntfs::Open()
|
|
|
|
{
|
2010-12-31 00:49:22 +01:00
|
|
|
s32 ret = Wbfs_Fat::Open();
|
|
|
|
if(ret == 0)
|
2010-12-28 18:02:10 +01:00
|
|
|
{
|
2010-12-31 00:49:22 +01:00
|
|
|
ntfs_wbfs_sec = lba;
|
|
|
|
wbfs_part_fs = PART_FS_NTFS;
|
2010-12-28 18:02:10 +01:00
|
|
|
}
|
|
|
|
|
2010-12-31 00:49:22 +01:00
|
|
|
return 0;
|
2010-11-07 13:16:34 +01:00
|
|
|
}
|