From 09ea7cd96aa384f0ab952c511920b7b741318854 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 30 Mar 2017 23:57:30 -0700 Subject: Reset YM2612 whenver the Z80 is reset. Fixes issue with stuck notes in Fantastic Dizzy and Kid Chameleon --- ym2612.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 71a00fd..124e3e1 100644 --- a/ym2612.h +++ b/ym2612.h @@ -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); -- cgit v1.2.3