Skip to content

Commit

Permalink
fix: revert the 1.2.1 change
Browse files Browse the repository at this point in the history
The code here https://github.com/remy/next-ayfx/compare/1.2.0..1.2.1
causes extreme crunchy sounds on cspect and god knows what on the
hardware.
  • Loading branch information
remy committed Feb 8, 2021
1 parent ef6a63d commit 6780034
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.2.2
Binary file modified ayfx.drv
Binary file not shown.
Binary file modified example/ayfx.drv
Binary file not shown.
4 changes: 2 additions & 2 deletions src/ayfx.asm
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ afxFrame1
jr z,afxFrame3 ; noise didn't change

ld a,(hl) ; read noise word
cp #20
jr nz,afxFrame2 ; less than # 20, play on
sub #20
jr c,afxFrame2 ; less than # 20, play on
ld h,a ; otherwise end of the effect
ld b,#ff
ld b,c ; in BC we enter the longest time
Expand Down

0 comments on commit 6780034

Please sign in to comment.