X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FMemory.c;h=dbf0118a9c99ee4083ef952a5a3ee7c21d20f926;hb=4936aac1cac5db9c8a0bec2d743d05be5c799f1f;hp=fde2e4a83b481f81430452e8fa6e97be566e60d3;hpb=e0cfb2fd6507f9099c23a66e0d840f957e152e3d;p=picodrive.git diff --git a/Pico/Memory.c b/Pico/Memory.c index fde2e4a..dbf0118 100644 --- a/Pico/Memory.c +++ b/Pico/Memory.c @@ -815,7 +815,7 @@ int ym2612_write_local(u32 a, u32 d, int is_from_z80) //ym2612.OPN.ST.TBC = (256-d)<<4; //ym2612.OPN.ST.TBC *= 18; //ym2612.OPN.ST.TBT = 0; - timer_b_step = timer_b_offset = 262840 * (256 - d); // 262881 + timer_b_step = timer_b_offset = 262800 * (256 - d); // 262881 if (ym2612.OPN.ST.mode & 2) { int cycles = is_from_z80 ? z80_cyclesDone() : cycles_68k_to_z80(SekCyclesDone()); timer_b_next_oflow = (cycles << 8) + timer_b_step;