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

SPU2: Disallow KeyOn within 2T of last KeyOn #4774

Merged
merged 1 commit into from Sep 17, 2021
Merged

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Disallow KeyOn less than 2T (768x2 cycles) of the previous KeyOn for a voice.
Fixes Legend of Spyro New Beginning hang

Rationale behind Changes

KeyOn/Off events shouldn't happen within 2T's of the last one for each voice (possibly the whole register, but unsure on that, per voice seems okay)

Suggested Testing Steps

uhh, any games you know had problems previously with delay cycles, that would be great.

Fixes Legend of Spyro New Beginning hang
@github-actions github-actions bot added the SPU2 label Sep 16, 2021
@ghost
Copy link

ghost commented Sep 16, 2021

This PR does work fine in my set of games. It doesn't solve the "unknown TCTF" audio issue in Oni tho (first issue is pure EE timing issue).

@refractionpcsx2
Copy link
Member Author

thanks for testing

@ghost
Copy link

ghost commented Sep 16, 2021

Edit, yeah, XGkick solve the issue I was having with your PR, + the fact that loading a savestate during bios loading triggers instant DMA is very good to falsify the results.

@refractionpcsx2 refractionpcsx2 merged commit d3f0718 into master Sep 17, 2021
@refractionpcsx2 refractionpcsx2 deleted the spu2_keyonlimit branch September 17, 2021 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant