Emulator Issues #4437
closedZelda DSP HLE doesn't work for SMS's AFC type 5
0%
Description
The Zelda DSP HLE doesn't seem to produce correct output for the AFC type 5 sounds in Super Mario Sunshine.
As noted in "UCode_Zelda_ADPCM.cpp", Super Mario Sunshine uses AFC type 5 for character sounds - when talked to or jumped on. With the HLE, these are either seemingly muted (main square characters) or quiet and distorted (sunflowers at the start of Pinna Park).
Attached is the latter having been manually extracted and decoded with AFCDecodeBuffer from the Zelda HLE.
The sounds work fine running LLE.
I'm running r7483
I might be able to look into this myself, but has any documentation (other than the DSP LLE code) been written on the opcodes not covered in duddie's guide? Decoding the inner loop ones like "ASRNRX'MV" is a real headache.