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: Sum split sizes because payload size can be wrong #44

Merged
merged 1 commit into from
Feb 25, 2023

Conversation

NickCondron
Copy link
Contributor

@NickCondron NickCondron commented Dec 28, 2022

Newer replays load a large enough gecko code payload that the size overflows the u16 within the payload sizes event. Therefore, we should not trust that number and instead sum the payload from each split event.

Some of the gecko codes and split event parsing code could use a refactor, but I think I will save that for a separate PR. Right now v3.13 support is blocked by this issue because in practice all v3.13 (and later) replays on dolphin have this size issue.

@NickCondron NickCondron changed the title Fix: Sum split sizes beacause payload size can be wrong Fix: Sum split sizes because payload size can be wrong Dec 30, 2022
@hohav hohav merged commit 6a6b1ab into hohav:main Feb 25, 2023
@NickCondron NickCondron deleted the gecko_bug branch February 26, 2023 22:27
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