File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
xivModdingFramework/SqPack/FileTypes Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -88,30 +88,10 @@ private static long GetMaximumFileSize(string drive)
88
88
return 2147483647 ;
89
89
case "FAT32" :
90
90
return 4294967296 ;
91
- case "NTFS" :
91
+ default :
92
+ // Unknown HDD Format, default to the max index limit.
92
93
// 2 ^35 is the maximum addressable size in the Index files. (28 precision bits, left-shifted 7 bits (increments of 128)
93
94
return 34359738368 ;
94
- case "exFAT" :
95
- return 34359738368 ;
96
- case "ext2" :
97
- return 34359738368 ;
98
- case "ext3" :
99
- return 34359738368 ;
100
- case "ext4" :
101
- return 34359738368 ;
102
- case "XFS" :
103
- return 34359738368 ;
104
- case "btrfs" :
105
- return 34359738368 ;
106
- case "ZFS" :
107
- return 34359738368 ;
108
- case "ReiserFS" :
109
- return 34359738368 ;
110
- case "apfs" :
111
- return 34359738368 ;
112
- default :
113
- // Unknown HDD Format, default to the basic limit.
114
- return 2000000000 ;
115
95
}
116
96
}
117
97
You can’t perform that action at this time.
0 commit comments