From: Toni Wilen Date: Sat, 22 Mar 2025 14:27:54 +0000 (+0200) Subject: Removed CD audio OSD led flicker X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=58f9dfa74dcbc70552c3e66af0173d79f8f25dca;p=francis%2Fwinuae.git Removed CD audio OSD led flicker --- diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index f0d0d93a..7d91b782 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -23971,7 +23971,7 @@ static void gui_flicker_led2 (int led, int unitnum, int status) } #endif *p = status; - resetcounter[led] = 4; + resetcounter[led] = 15; if (old != *p) gui_led (led, *p, -1); } diff --git a/statusline.cpp b/statusline.cpp index c174dfae..26aeb6d0 100644 --- a/statusline.cpp +++ b/statusline.cpp @@ -230,10 +230,12 @@ void draw_status_line_single(int monid, uae_u8 *buf, int bpp, int y, int totalwi pos = 6; if (gui_data.cd >= 0) { on = gui_data.cd & (LED_CD_AUDIO | LED_CD_ACTIVE); - on_rgb = (on & LED_CD_AUDIO) ? 0x00cc00 : 0x0000cc; - if ((gui_data.cd & LED_CD_ACTIVE2) && !(gui_data.cd & LED_CD_AUDIO)) { - on_rgb &= 0xfefefe; - on_rgb >>= 1; + if (on & LED_CD_AUDIO) { + on_rgb = 0x009900; + } else if (on == LED_CD_ACTIVE) { + on_rgb = 0x000099; + } else { + on = 0; } off_rgb = 0x000033; num1 = -1;