From 07f9e99eefacb94e2847af379dcf37ecfd871b34 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 16 Dec 2014 01:05:00 -0800 Subject: Set the busy flag after a YM-2612 address write --- ym2612.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ym2612.c b/ym2612.c index 3e43b63..2d3404a 100644 --- a/ym2612.c +++ b/ym2612.c @@ -521,6 +521,7 @@ void ym_address_write_part1(ym2612_context * context, uint8_t address) context->selected_part = 0; context->write_cycle = context->current_cycle; context->busy_cycles = BUSY_CYCLES_ADDRESS; + context->status |= 0x80; } void ym_address_write_part2(ym2612_context * context, uint8_t address) @@ -530,6 +531,7 @@ void ym_address_write_part2(ym2612_context * context, uint8_t address) context->selected_part = 1; context->write_cycle = context->current_cycle; context->busy_cycles = BUSY_CYCLES_ADDRESS; + context->status |= 0x80; } uint8_t fnum_to_keycode[] = { -- cgit v1.2.3