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

[DVD] Ignore buffer when seeking backwards #3673

Merged
merged 1 commit into from
Feb 26, 2016

Conversation

mmastrac
Copy link
Member

This fixes Shrek 2, but needs some testing on other titles that might have broken with the previous signedness fix.

The buffer definitely shouldn't be used for large backwards seeks, but with this patch we're also ignoring it for small backwards seeks. This may be a reasonable assumption.

Review on Reviewable

@JosJuice
Copy link
Member

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@JosJuice
Copy link
Member

Based on us talking in IRC, it seems like the code before PR #3632 was actually working correctly, but it was non-obvious that it was working correctly because it relied on underflow. PR #3632 made the behavior wrong. This PR brings back the correct behavior, written in a way that's easier to understand.

@mmastrac
Copy link
Member Author

Do not merge yet -- I'm going to try and reason through this.

Unfortunately this fix re-breaks Arc Rise Fantasia, so we must restore its INI as well.
@JosJuice
Copy link
Member

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@JosJuice
Copy link
Member

All of PR #3632's known effects (Arc Rise Fantasia not crashing, Shrek 2 crashing, SpongeBob's Boating Bash crashing, faster loading times in general) have now been tested with this PR and found to be the same as before PR #3632.

@delroth delroth added this to the Dolphin Release 5.0 milestone Feb 26, 2016
delroth added a commit that referenced this pull request Feb 26, 2016
[DVD] Ignore buffer when seeking backwards
@delroth delroth merged commit 1b37b39 into dolphin-emu:master Feb 26, 2016
@mmastrac mmastrac deleted the dvd_nobackwardsbuffer branch February 26, 2016 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants