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

DSP HLE: Remove timing informations from ucodes #2875

Merged
merged 2 commits into from Aug 19, 2015

Conversation

degasus
Copy link
Member

@degasus degasus commented Aug 19, 2015

On HLE, we don't emulate the timings on HLE, so there is also no need
to setup periods callbacks.

This fixes AX HLE when used for 48 kHz audio.

@delroth
Copy link
Member

delroth commented Aug 19, 2015

LGTM. I wish AX didn't rely on this update interval at all, to be fair :)

@@ -671,17 +671,13 @@ void AXUCode::Update()
}
else if (m_work_available)
{
m_work_available = false;

This comment was marked as off-topic.

@JMC47
Copy link
Contributor

JMC47 commented Aug 19, 2015

Fixes the missing FMV audio in AX-Wii games, Little King's Story, The Last Story, Donkey Kong Country Returns. Fixes slow audio in many 48K games, including a bunch of random sports games I can't be bothered to type, Dave Mirra's Freestyle BMX 2 and some more sports games.

It was done on Update() which was called exactly every 5ms.
But the game is allowed to use the DSP more often, eg to generate 48kHz audio.
On HLE, we don't emulate the timings on HLE, so there is also no need
to setup periods callbacks.
@JMC47
Copy link
Contributor

JMC47 commented Aug 19, 2015

Retested, LGTM

degasus added a commit that referenced this pull request Aug 19, 2015
DSP HLE: Remove timing informations from ucodes
@degasus degasus merged commit 869c5d7 into dolphin-emu:master Aug 19, 2015
mimimi085181 added a commit to mimimi085181/dolphin that referenced this pull request Apr 24, 2016
…verts commit: 896a02b.

Hopefully sound still works properly with this for games that use 48 kHz audio on AX ucodes and it fixes sound for Neo Geo games, see issue: https://bugs.dolphin-emu.org/issues/9315
@degasus degasus deleted the hle branch February 3, 2019 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants