hetelek / Velocity

A cross-platform application built using the Qt framework that allows you to browse and edit Xbox 360 files.
GNU General Public License v3.0
155 stars 48 forks source link

Wrong Status set for Level 1 Table Entries #70

Open K4r0qtuYNE5G4qgZ opened 9 years ago

K4r0qtuYNE5G4qgZ commented 9 years ago

The Status is set to 0x40 for Bottom Table and left 0x00 else.

But the Status 0x40 in a Level 1 Table means that all Level 0 Entries have been set to 0x40 or 0x00 and therefore the Table is Free eg. Empty.

Also the Status 0x00 in a Level 1 Table means, it was never allocated eg. Empty.

The correct Status'es are 0x80 and 0xC0, which also works the same way as already implemented, but the Difference is then they are not overwritten by accident because they was assumed Empty.