Mercurial > repos > blastem
diff ymz263b.h @ 2471:2f4c17b4fe10
Switch to YMZ280B ADPCM algorithm. Still sounds a little rough, but definitely much better than with the YM2610 ADPCM-A setup
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 25 Feb 2024 11:08:35 -0800 |
parents | b5640ac9aea9 |
children | e8eba0cd5444 |
line wrap: on
line diff
--- a/ymz263b.h Sat Feb 24 23:16:37 2024 -0800 +++ b/ymz263b.h Sun Feb 25 11:08:35 2024 -0800 @@ -7,6 +7,7 @@ typedef struct { uint16_t output; + uint16_t adpcm_step; uint8_t fifo[128]; uint8_t fifo_read; uint8_t fifo_write; @@ -15,7 +16,6 @@ uint8_t counter; uint8_t nibble; uint8_t nibble_write; - uint8_t adpcm_mul_index; } ymz263b_pcm; typedef struct {