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 @@ -114,30 +114,10 @@ private static long GetMaximumFileSize(string drive)
114
114
return 2147483647 ;
115
115
case "FAT32" :
116
116
return 4294967296 ;
117
- case "NTFS" :
117
+ default :
118
+ // Unknown HDD Format, default to the max index limit.
118
119
// 2 ^35 is the maximum addressable size in the Index files. (28 precision bits, left-shifted 7 bits (increments of 128)
119
120
return 34359738368 ;
120
- case "exFAT" :
121
- return 34359738368 ;
122
- case "ext2" :
123
- return 34359738368 ;
124
- case "ext3" :
125
- return 34359738368 ;
126
- case "ext4" :
127
- return 34359738368 ;
128
- case "XFS" :
129
- return 34359738368 ;
130
- case "btrfs" :
131
- return 34359738368 ;
132
- case "ZFS" :
133
- return 34359738368 ;
134
- case "ReiserFS" :
135
- return 34359738368 ;
136
- case "apfs" :
137
- return 34359738368 ;
138
- default :
139
- // Unknown HDD Format, default to the basic limit.
140
- return 2000000000 ;
141
121
}
142
122
}
143
123
You can’t perform that action at this time.
0 commit comments