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

CommandProcessor: Don't reset gather pipe on write the high distance bit (fixes monster lab) #8039

Merged
merged 1 commit into from
Apr 27, 2019

Conversation

iwubcode
Copy link
Contributor

On investigating why Monster Lab would not boot, I noticed some extra commands in the last commit that broke the game. Removing this line allowed game to boot normally.

After discussion, it turns out the current code isn't following the hardware's behavior. On real hardware the gather-pipe or WPAR buffer will only be reset upon receiving 32bytes.

Big thanks to @booto for help explaining the hardware side of it and doing the hardware test that confirms this.

Fixes issue 9249
Fixes issue 10826

Copy link
Contributor

@stenzek stenzek left a comment

Choose a reason for hiding this comment

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

LGTM

…not reflect what actually happens on real hardware. On hardware, there's no way for the GPU to signal to reset the WPAR buffer. Instead, the WPAR buffer will be reset automatically upon receiving 32 bytes or when spr[WPAR] is written
@stenzek stenzek merged commit b5c3542 into dolphin-emu:master Apr 27, 2019
@iwubcode iwubcode deleted the monster_lab_fix branch April 27, 2019 03:54
@weihuoya
Copy link
Contributor

weihuoya commented May 5, 2019

with this pr, resident evil zero warning unknown opcode on launch.

@JMC47
Copy link
Contributor

JMC47 commented May 5, 2019

It'll probably get fixed with better GPU timings. This behavior has been hardware tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants