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

[WIP] HW/DSPHLE: Refactor Old AX Wii into a separate class #8529

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Techjar
Copy link
Contributor

@Techjar Techjar commented Dec 21, 2019

Based on #8525

This fixes Old AX Wii games having no audio when compiled under VS2019.
This also includes some minor code cleanup and moving a function to
avoid duplication.
@leoetlino leoetlino added the WIP / do not merge Work in progress (do not merge) label Mar 15, 2020
@leoetlino
Copy link
Member

What's the status of this PR, now that #8525 is merged?

@@ -113,6 +113,14 @@ struct PBUpdates
u16 data_lo;
};

// Old AX Wii uses update data, but a block is 3ms.
Copy link
Member

Choose a reason for hiding this comment

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

It's been a while that I worked on the DSP, but this comment doesn't really make sense to me in its current form?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not really clear to me either what update data is. If someone could provide a better explanation I'd be happy to put it in the comment.

{
volume = m_cmdlist[curr_idx++];
u32 addresses[6] = {
(u32)(m_cmdlist[curr_idx + 0] << 16) | m_cmdlist[curr_idx + 1],
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should clean those up into proper casts while we're at it.

@leoetlino leoetlino marked this pull request as draft April 28, 2020 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP / do not merge Work in progress (do not merge)
3 participants