From 6a3f9129d164d8bc92b9895d158561031426d0f5 Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Thu, 27 Mar 2003 04:53:05 +0000
Subject: [PATCH] add cdrom check in menus

---
 src/ui/menu_proc.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ui/menu_proc.cpp b/src/ui/menu_proc.cpp
index fc88ce282..64b6ac3f0 100644
--- a/src/ui/menu_proc.cpp
+++ b/src/ui/menu_proc.cpp
@@ -2292,6 +2292,9 @@ global void ProcessMenu(const char *menu_id, int loop)
     MustRedraw = RedrawEverything;
     if (loop) {
 	while (CurrentMenu != NULL) {
+	    if (!(FrameCounter % ((VideoSyncSpeed * CYCLES_PER_SECOND)/50))) {
+		PlaySectionMusic(PlaySectionUnknown);
+	    }
 	    DebugLevel3("MustRedraw: 0x%08x\n" _C_ MustRedraw);
 	    if (MustRedraw) {
 		if (CurrentMenu->image == ScPanel) {