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

DiscIO: Fix decompressing writing the wrong number of bytes sometimes #8740

Merged
merged 3 commits into from Apr 24, 2020

Conversation

JosJuice
Copy link
Member

These issues cannot happen with good dumps due to their size, but they can happen with trimmed dumps.

This issue cannot happen with good dumps due to their size,
but it can happen with trimmed dumps.
This issue cannot happen with good dumps due to their size,
but it can happen with trimmed dumps.
We can use subtraction and std::min instead of
modulo and explicit if statements.

This commit does not change the behavior.
@degasus degasus merged commit 7e94d6e into dolphin-emu:master Apr 24, 2020
@JosJuice JosJuice deleted the fix-decompress branch April 24, 2020 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants