mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
The input logging can now be excluded from the debug output using an option in es_settings.xml
This commit is contained in:
parent
64e14be4ee
commit
942e3ca5bf
|
@ -294,6 +294,7 @@ void Settings::setDefaults()
|
|||
// but that are not configurable via the GUI.
|
||||
//
|
||||
|
||||
mBoolMap["DebugSkipInputLogging"] = { false, false };
|
||||
mStringMap["ROMDirectory"] = { "", "" };
|
||||
mStringMap["UIMode_passkey"] = { "uuddlrlrba", "uuddlrlrba" };
|
||||
|
||||
|
|
|
@ -147,7 +147,10 @@ void Window::input(InputConfig* config, Input input)
|
|||
{
|
||||
mTimeSinceLastInput = 0;
|
||||
|
||||
if (Settings::getInstance()->getBool("Debug"))
|
||||
// The DebugSkipInputLogging option has to be set manually in es_settings.xml as
|
||||
// it does not have any settings menu entry.
|
||||
if (Settings::getInstance()->getBool("Debug") &&
|
||||
!Settings::getInstance()->getBool("DebugSkipInputLogging"))
|
||||
logInput(config, input);
|
||||
|
||||
if (mMediaViewer && mRenderMediaViewer) {
|
||||
|
|
Loading…
Reference in a new issue