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
DSPHLE: fix problems with older ucodes #9954
Conversation
|
Above on the lines 246-248 where it says: |
|
Also, on line 234 there's this |
| @@ -214,7 +214,7 @@ void AXWiiUCode::HandleCommandList() | |||
|
|
|||
| case CMD_OUTPUT: | |||
| case CMD_OUTPUT_DPL2: | |||
| volume = m_cmdlist[curr_idx++]; | |||
| volume = m_crc == 0xd9c4bf34 ? 0x8000 : m_cmdlist[curr_idx++]; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this value come from? Is it hardcoded in that particular µcode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x8000 is full volume. I'm just copying the behavior of CMD_OUTPUT_OLD. I haven't independently verified that this is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@Rumi-Larry while the formatting should probably be fixed (in a separate PR), those changes are not relevant to this PR at all. |
| @@ -214,7 +214,7 @@ void AXWiiUCode::HandleCommandList() | |||
|
|
|||
| case CMD_OUTPUT: | |||
| case CMD_OUTPUT_DPL2: | |||
| volume = m_cmdlist[curr_idx++]; | |||
| volume = m_crc == 0xd9c4bf34 ? 0x8000 : m_cmdlist[curr_idx++]; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

This fixes https://bugs.dolphin-emu.org/issues/12515.