mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
another timer change for Dai Makaimura
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@473 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
de89bf45d7
commit
6720087563
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue