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

Boot_WiiWAD: Remove a timing issue workaround #6611

Merged
merged 1 commit into from Apr 9, 2018

Conversation

leoetlino
Copy link
Member

This was necessary to work around a FS timing issue which caused small
writes to take much longer than they should.

Now that we emulate timings for the FS module including its file cache,
we don't need to maintain this workaround anymore.

This was necessary to work around a FS timing issue which caused small
writes to take much longer than they should.

Now that we emulate timings for the FS module including its file cache,
we don't need to maintain this workaround anymore.
Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At last! :)
I assume you timed it to be a reasonable amount now?

@leoetlino
Copy link
Member Author

Yep. The issue was that the system menu did tons of small writes (4 bytes...) and Dolphin was using a hardcoded tick value for all writes, ignoring the fact that FFSP has a file read/write cache which is used to fulfill small read/write requests.

Now this cache is emulated and we use the correct timing for all those requests.

@JosJuice JosJuice merged commit 7aaaf44 into dolphin-emu:master Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants