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

Accurate loading times for Wii games #1739

Merged
merged 3 commits into from Jan 2, 2015

Conversation

JosJuice
Copy link
Member

This is a continuation of PR 1634. WII_IPC_HLE_Device_DI now uses all the timing accuracy improvements that DVDInterface has gotten throughout this year. Also, the fast disc speed option now works for Wii games. The second and third commits might cause problems in games that rely on specific IPC timings, so testing is needed.

The reply delay of a command shouldn't be ignored just because the
previous command isn't done yet. DI is way too fast without this change.
// Ensure replies happen in order
const s64 ticks_until_last_reply = last_reply_time - CoreTiming::GetTicks();
if (ticks_until_last_reply > 0)
result.reply_delay_ticks += ticks_until_last_reply;

This comment was marked as off-topic.

This comment was marked as off-topic.

@JosJuice
Copy link
Member Author

SSBB (arbitrarily picked game) confirmed working by me and NSMBWii (mentioned in the removed old comments) confirmed working by JMC. The DKCR problems mentioned in the old comments are probably caused by the old AX HLE. Are there any games that are known to have problems with DI timing, other than the ones mentioned in the comments? If not, I don't think there are many specific games we can test.

@magumagu
Copy link
Contributor

Someone should double-check that this doesn't cause any regressions with four Wiimotes connected... other than that, I don't have any suggestions for testing.

@JosJuice
Copy link
Member Author

Do they have to be real Wiimotes, or are emulated ones fine?

@magumagu
Copy link
Contributor

Preferably at least one real Wiimote.

@JMC47
Copy link
Contributor

JMC47 commented Dec 21, 2014

Used 3 real wiimotes via DolphinBar and one emulated wiimote to attempt to play through stage 1-1 of NSMBWii. I failed, but the PR didn't have any ill-effects that I could tell.

skidau added a commit that referenced this pull request Jan 2, 2015
Accurate loading times for Wii games
@skidau skidau merged commit 598dc03 into dolphin-emu:master Jan 2, 2015
@JosJuice JosJuice deleted the wii-di-timing branch January 3, 2015 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants