From 082670c4b54853ddfa4fa955b9ae06029d016049 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 15 Sep 2021 23:59:49 -0700 Subject: Remove VISIBLE_SOUND_OVERDRIVE compile-time option in favor of enabling the red overdrive border when speaker_report is non-zero. --- src/frontend/mame/ui/ui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp index c6a7bb21727..1f8e5b7bda8 100644 --- a/src/frontend/mame/ui/ui.cpp +++ b/src/frontend/mame/ui/ui.cpp @@ -43,8 +43,6 @@ #include #include -#define VISIBLE_SOUND_OVERDRIVE (1) - /*************************************************************************** CONSTANTS @@ -646,7 +644,7 @@ void mame_ui_manager::update_and_render(render_container &container) } // show red if overdriving sound - if (VISIBLE_SOUND_OVERDRIVE && machine().phase() == machine_phase::RUNNING) + if (machine().options().speaker_report() != 0 && machine().phase() == machine_phase::RUNNING) { auto compressor = machine().sound().compressor_scale(); if (compressor < 1.0) -- cgit v1.2.3