From a5f18ae32513d0ddecff748848433e628e03d71d Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 10 Aug 2022 16:38:19 +1000 Subject: [PATCH] InputManager: Fix macros not being copied in profile --- src/frontend-common/input_manager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frontend-common/input_manager.cpp b/src/frontend-common/input_manager.cpp index d4f6dcaea..00c4bcc82 100644 --- a/src/frontend-common/input_manager.cpp +++ b/src/frontend-common/input_manager.cpp @@ -941,14 +941,12 @@ void InputManager::CopyConfiguration(SettingsInterface* dest_si, const SettingsI dest_si->CopyStringListValue(src_si, section.c_str(), bi.name); } -#if 0 for (u32 i = 0; i < NUM_MACRO_BUTTONS_PER_CONTROLLER; i++) { dest_si->CopyStringListValue(src_si, section.c_str(), fmt::format("Macro{}", i + 1).c_str()); dest_si->CopyStringValue(src_si, section.c_str(), fmt::format("Macro{}Binds", i + 1).c_str()); dest_si->CopyUIntValue(src_si, section.c_str(), fmt::format("Macro{}Frequency", i + 1).c_str()); } -#endif } if (copy_pad_config)