-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect lump padding in page builder
The logic for padding the previous lump to align our current one was flawed as the align amount was calculated after the page size was increased. Slightly changed the code to have the find functions only return the slabs/pages without adding the sizes to them, and have CreatePageLump deal with that instead. For the second issue; in commit 5c5cc00, a fix was implemented to pad the asset out to its alignment boundary. However, this was placed before the lump and not after. This padding lump was supposed to pad the data lump to its alignment boundary. It has been moved to after the data lump has been created.
- Loading branch information
Showing
2 changed files
with
34 additions
and
30 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