summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-03-30 23:57:30 -0700
committerMichael Pavone <pavone@retrodev.com>2017-03-30 23:57:30 -0700
commit09ea7cd96aa384f0ab952c511920b7b741318854 (patch)
tree367d28d4b19309562f40f099eebeb07a4a70ee64 /ym2612.h
parent2c86fe734c79199cbf32ea6d575c72e5f92d2111 (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.h1
1 files changed, 1 insertions, 0 deletions
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);