mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Zelda HLE: Properly implement LQ AFC decoding.
Typos and stupid mistakes + untested code = dirty Git history.
This commit is contained in:
parent
82689677d9
commit
840a4157b0
@ -1535,7 +1535,8 @@ void ZeldaAudioRenderer::DecodeAFC(VPB* vpb, s16* dst, size_t block_count)
|
|||||||
nibbles[i + 0] = (*src >> 6) & 3;
|
nibbles[i + 0] = (*src >> 6) & 3;
|
||||||
nibbles[i + 1] = (*src >> 4) & 3;
|
nibbles[i + 1] = (*src >> 4) & 3;
|
||||||
nibbles[i + 2] = (*src >> 2) & 3;
|
nibbles[i + 2] = (*src >> 2) & 3;
|
||||||
nibbles[i + 3] = (*src >> 6) & 3;
|
nibbles[i + 3] = (*src >> 0) & 3;
|
||||||
|
src++;
|
||||||
}
|
}
|
||||||
for (auto& nibble : nibbles)
|
for (auto& nibble : nibbles)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user