diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-12-16 01:05:00 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-12-16 01:05:00 -0800 |
commit | 07f9e99eefacb94e2847af379dcf37ecfd871b34 (patch) | |
tree | 46d2e34bb4b1207fde4cc555c4e3af308e48084a /ym2612.c | |
parent | b100269776335ff82349bb83871dd415e92a0799 (diff) |
Set the busy flag after a YM-2612 address write
Diffstat (limited to 'ym2612.c')
-rw-r--r-- | ym2612.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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[] = { |