From a12543cbb557c378c08cef8a2b69cbac59e81485 Mon Sep 17 00:00:00 2001 From: Luxferre Date: Fri, 9 Jan 2026 20:33:59 +0200 Subject: [PATCH] Added some sound effects --- nes/nescoundrel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nes/nescoundrel.c b/nes/nescoundrel.c index c196787..1478557 100644 --- a/nes/nescoundrel.c +++ b/nes/nescoundrel.c @@ -160,7 +160,10 @@ void beep_win() { play_jingle(880, 660, 660, 880, 880, 1760); } void beep_lose() { + unsigned short i; play_jingle(110, 55, 220, 110, 110, 55); + for(i=0;i<4000;++i); + play_jingle(110, 55, 110, 55, 110, 55); } void beep_err() { play_jingle(330, 220, 330, 220, 330, 220);