Some games (mostly samsho series) occasionally play ADPCM with bad start/end address
Wuerfel21 opened this issue · comments
This is easiest to reproduce in samsho3 or 4, but it also happens in 1 and 2 (5/5sp have broken sound as of writing). A similar bug also manifests in some other games (which???).
One debugging session in samsho3 revealed that the ADPCM is triggered (from view of OPNBcog) with start address 0 (and reasonable end). Not sure if this holds true for all games/situations.
Possible causes:
- Bad Z80 logic
- Start address changes before OPN processes trigger command (real HW behaviour?)
- ???
Okay, got samsho5 sound working and the intro narration is super busted. Ingame seems fine? samsh5sp also seems fine?
Okay, sample end was interpreted wrong.
TODO: check if this also fixes the intermittent type of issue
No.