notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de89bf4
)
another timer change for Dai Makaimura
author
notaz
<notasas@gmail.com>
Fri, 30 May 2008 20:02:23 +0000
(20:02 +0000)
committer
notaz
<notasas@gmail.com>
Fri, 30 May 2008 20:02:23 +0000
(20:02 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@473
be3aeb3a
-fb24-0410-a615-
afba39da0efa
Pico/Memory.c
patch
|
blob
|
blame
|
history
diff --git
a/Pico/Memory.c
b/Pico/Memory.c
index
fde2e4a
..
dbf0118
100644
(file)
--- 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;
\r
//ym2612.OPN.ST.TBC *= 18;
\r
//ym2612.OPN.ST.TBT = 0;
\r
- timer_b_step = timer_b_offset = 2628
4
0 * (256 - d); // 262881
\r
+ timer_b_step = timer_b_offset = 2628
0
0 * (256 - d); // 262881
\r
if (ym2612.OPN.ST.mode & 2) {
\r
int cycles = is_from_z80 ? z80_cyclesDone() : cycles_68k_to_z80(SekCyclesDone());
\r
timer_b_next_oflow = (cycles << 8) + timer_b_step;
\r