# HG changeset patch # User Michael Pavone # Date 1418720700 28800 # Node ID 55b550fe88913bc47d195bd1d7e7896356217410 # Parent c86f27f5c5a60b0caa2549996997de54455164dd Set the busy flag after a YM-2612 address write diff -r c86f27f5c5a6 -r 55b550fe8891 ym2612.c --- a/ym2612.c Sun Dec 14 18:17:29 2014 -0800 +++ b/ym2612.c Tue Dec 16 01:05:00 2014 -0800 @@ -521,6 +521,7 @@ 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 @@ context->selected_part = 1; context->write_cycle = context->current_cycle; context->busy_cycles = BUSY_CYCLES_ADDRESS; + context->status |= 0x80; } uint8_t fnum_to_keycode[] = {