summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKikooDX <kikoodx@paranoici.org>2022-08-31 04:07:04 +0200
committerKikooDX <kikoodx@paranoici.org>2022-08-31 04:07:04 +0200
commitbaa46a28e852549885a1e875dddcbb393fd7efe3 (patch)
treeb69d26f6b99754151d9420da6e60f79b1d491104
parentb3296cf4da81299a34d7dfab08b6f7aecbfab669 (diff)
downloadscr16-baa46a28e852549885a1e875dddcbb393fd7efe3.tar.gz
stop beep before playing
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 1a55f2a..0e5a800 100644
--- a/main.c
+++ b/main.c
@@ -251,6 +251,7 @@ CFUNC(cf_keypress)
CFUNC(cf_beep)
{
(void)ctx, (void)arg;
+ cm_stop(beep);
cm_play(beep);
return NULL;
}