From 13e41e69f7a10b819f77c2db0b9e5364ea51de2e Mon Sep 17 00:00:00 2001 From: Can Date: Mon, 3 Feb 2025 17:12:20 +0100 Subject: UI changes and audio support --- src/cpu.effekt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu.effekt') diff --git a/src/cpu.effekt b/src/cpu.effekt index d61d33b..c2a929e 100644 --- a/src/cpu.effekt +++ b/src/cpu.effekt @@ -389,6 +389,9 @@ def makeCPU() {r: Renderer} = { } if (sound.toInt() > 0) { sound = (sound.toInt() - 1).toByte() + r.beep() + } else { + r.stopBeep() } last_timer_update = currentTime -- cgit v1.2.3