aaronsgiles / ymfm

BSD-licensed Yamaha FM sound cores (OPM, OPN, OPL, and others)
BSD 3-Clause "New" or "Revised" License
259 stars 40 forks source link

ADPCM: fixed reading external data #35

Closed hyano closed 2 years ago

hyano commented 2 years ago

This patch is a part of fix I send in PR https://github.com/aaronsgiles/ymfm/pull/31.

I splitted the following commit into 2 comits and it is for reading external ADPCM memory. OPNA/ADPCM: fixed reading reg values and external data

I think this fix is better than the original, but in some case, behavior of status ragister is still not good because of behavior of dummy read. Change for dummy read in PR #31 depends on this PR and I need to consider how to share with you.