Commit 968bd46
committed
Refine platform detection (unsigned Xbox 360)
Use FastFileInfo.Platform to better distinguish unsigned Xbox 360 FastFiles from PS3 by treating OpenedFastFileHeader.Platform == "Xbox 360" as Xbox360 in IsXbox360. Add a Platform string property to FastFileHeader (with docs and default empty string) and initialize it from info.Platform, and update the exposed Platform mapping to rely on IsXbox360. This enables accurate detection for unsigned console files (e.g. converter output or unsigned MW2 Xbox 360) where header bytes alone look like PS3 but zone-peek identification is available.1 parent 998742e commit 968bd46
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | | - | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
225 | 237 | | |
226 | 238 | | |
227 | 239 | | |
| |||
245 | 257 | | |
246 | 258 | | |
247 | 259 | | |
| 260 | + | |
248 | 261 | | |
249 | 262 | | |
250 | 263 | | |
| |||
0 commit comments