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:
d127b3f
)
sound, improve ym2612 accuracy (arm ASM bugfix)
author
kub
<derkub@gmail.com>
Sat, 25 Dec 2021 10:33:05 +0000
(11:33 +0100)
committer
kub
<derkub@gmail.com>
Sat, 25 Dec 2021 10:33:05 +0000
(11:33 +0100)
pico/sound/ym2612_arm.S
patch
|
blob
|
blame
|
history
diff --git
a/pico/sound/ym2612_arm.S
b/pico/sound/ym2612_arm.S
index
178972d
..
52611fc
100644
(file)
--- a/
pico/sound/ym2612_arm.S
+++ b/
pico/sound/ym2612_arm.S
@@
-712,15
+712,10
@@
crl_loop:
subs r8, r8, #(1<<EG_SH)
blt crl_smp_loop_end
-
- @ r12=lfo_ampm[31:16], r1=lfo_cnt_old, r2=lfo_cnt
- advance_lfo_m
-
crl_smp_loop:
tst r12, #8 @ lfo?
beq lfo_done
-
ldr r2, [lr, #0x34] @ lfo_inc
ldr r1, [lr, #0x30] @ lfo_cnt
@@
-888,6
+883,7
@@
crl_algo_done:
crl_smp_loop_end:
add r8, r8, #(1<<EG_SH)
+
@ -- WRITE SAMPLE --
tst r0, r0
beq ctl_sample_skip