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 + 1] = (*src >> 4) & 3;
|
||||
nibbles[i + 2] = (*src >> 2) & 3;
|
||||
nibbles[i + 3] = (*src >> 6) & 3;
|
||||
nibbles[i + 3] = (*src >> 0) & 3;
|
||||
src++;
|
||||
}
|
||||
for (auto& nibble : nibbles)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue