Zelda HLE: Properly implement LQ AFC decoding.

Typos and stupid mistakes + untested code = dirty Git history.
This commit is contained in:
Pierre Bourdon 2014-12-24 04:26:05 +01:00
parent 82689677d9
commit 840a4157b0
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{