Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where wrong data is emitted for gzip fixed blocks #24

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

cadmic
Copy link
Contributor

@cadmic cadmic commented Jul 25, 2024

Currently if gzip decides to flush a block after deferring the current match, and also decides to emit that block as a "fixed" bytes, the data would be wrong because pos/block_length would be off by one. I guess this case was never hit for OOT or Dr Mario but it is hit in iQue SKSA.

@AngheloAlf AngheloAlf merged commit a51c4d8 into decompals:main Jul 25, 2024
27 checks passed
@cadmic cadmic deleted the fix-gzip-fixed-blocks branch July 25, 2024 22:16
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