Remove VISIBLE_SOUND_OVERDRIVE compile-time option in favor of enabling the red overdrive border when speaker_report is non-zero.

This commit is contained in:
Aaron Giles 2021-09-15 23:59:49 -07:00
parent 541879d4be
commit 082670c4b5

View File

@ -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)