Skip to content

Fix header parsing for 64-bit CPUs#5

Open
virtulis wants to merge 1 commit intoustramooner:masterfrom
virtulis:x64-fix
Open

Fix header parsing for 64-bit CPUs#5
virtulis wants to merge 1 commit intoustramooner:masterfrom
virtulis:x64-fix

Conversation

@virtulis
Copy link

I had trouble parsing some table headers (the fields would come out garbled or empty), and after finding a note from the original author that a 32-build should be used and confirming that helps I traced it to this single variable that is used for it's "sizeof" to advance the file pointer.

Making sure it's always 4 bytes helped. The actual value isn't used, as far as I can tell, but I didn't want to change more than needed.

@mitar
Copy link

mitar commented Nov 3, 2025

I can confirm this fixes the header parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants