Skip to content

Commit

Permalink
Improved sfx
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Robson committed Aug 12, 2024
1 parent 4b1fe11 commit 4905407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion basic/test.bsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
noise 0,300,100
sfx 0,19
end

proc snd(ch,fq,ms,sl,ty,v)
Expand Down
2 changes: 1 addition & 1 deletion firmware/common/sources/interface/sfxmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ uint8_t SFXPlay(int channelID,int effect) {
u.timeCS = notes[1];u.slide = 0;u.volume = 100;u.type = 0;
switch(notes[0]) {
case 0xFFFE:
u.frequency = 100;u.type = 1;
u.frequency = 2000;u.type = 1;
break;
case 0xFFFD:
u.frequency = 200;u.type = 1;u.slide = 40;
Expand Down

0 comments on commit 4905407

Please sign in to comment.