diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-03-30 23:57:30 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-03-30 23:57:30 -0700 |
commit | 09ea7cd96aa384f0ab952c511920b7b741318854 (patch) | |
tree | 367d28d4b19309562f40f099eebeb07a4a70ee64 /ym2612.h | |
parent | 2c86fe734c79199cbf32ea6d575c72e5f92d2111 (diff) |
Reset YM2612 whenver the Z80 is reset. Fixes issue with stuck notes in Fantastic Dizzy and Kid Chameleon
Diffstat (limited to 'ym2612.h')
-rw-r--r-- | ym2612.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -131,6 +131,7 @@ enum { }; void ym_init(ym2612_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t sample_limit, uint32_t options, uint32_t lowpass_cutoff); +void ym_reset(ym2612_context *context); void ym_free(ym2612_context *context); void ym_adjust_master_clock(ym2612_context * context, uint32_t master_clock); void ym_run(ym2612_context * context, uint32_t to_cycle); |