summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-09-15 23:59:49 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-09-15 23:59:49 -0700
commit082670c4b54853ddfa4fa955b9ae06029d016049 (patch)
tree58076fa00dca9c257f29932e2cf55f92d8f307ed /src/frontend/mame/ui
parent541879d4becc52a2573ad13b049224f89f202dc7 (diff)
Remove VISIBLE_SOUND_OVERDRIVE compile-time option in favor of enabling the red overdrive border when speaker_report is non-zero.
Diffstat (limited to 'src/frontend/mame/ui')
-rw-r--r--src/frontend/mame/ui/ui.cpp4
1 files changed, 1 insertions, 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 <chrono>
#include <type_traits>
-#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)