# HG changeset patch # User Michael Pavone # Date 1613455849 28800 # Node ID 1e7a63f0ccf4e905b7acce1d287638fd6c619765 # Parent e597572f45cebc1fcba010a3e4fbccc194ba1912 Fix Timer B load bug that made games using Konami sound driver to have slower music tempo than they should diff -r e597572f45ce -r 1e7a63f0ccf4 ym2612.c --- a/ym2612.c Mon Feb 15 13:17:08 2021 -0800 +++ b/ym2612.c Mon Feb 15 22:10:49 2021 -0800 @@ -407,6 +407,9 @@ context->timer_b = context->timer_b_load; } } + } else if (context->timer_control & BIT_TIMERB_LOAD) { + context->timer_control &= ~BIT_TIMERB_LOAD; + context->timer_b = context->timer_b_load; } context->sub_timer_b += 0x10; //Update LFO