Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ExFont: Properly parse the header. Until now we assumed 256 palette e…
…ntries but this assumption did not work for Grimm's Hollow resulting in a corrupted image and heap corruption. Also fixed how num_colors in the header is populated: When the value is 0 the value must be the maximum allowed. Required for the ExFont logic and for our duplicate color detection logic.
- Loading branch information
Showing
4 changed files
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters