mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2025-01-09 19:19:21 +01:00
Improve logging
This commit is contained in:
parent
8b2634f75e
commit
48b1a3679d
@ -47,13 +47,14 @@ WUMS_INITIALIZE() {
|
||||
vpadInput.update(1280, 720);
|
||||
auto buttomComboSafeMode = Input::eButtons::BUTTON_L | Input::eButtons::BUTTON_UP | Input::eButtons::BUTTON_MINUS;
|
||||
if ((vpadInput.data.buttons_h & (buttomComboSafeMode)) == buttomComboSafeMode) {
|
||||
DEBUG_FUNCTION_LINE_INFO("Safe Mode activated!");
|
||||
auto tobeIgnoredFilePath = getNonBaseAromaPluginFilenames(getPluginPath());
|
||||
WUPSBackendSettings::LoadSettings();
|
||||
std::set<std::string> inactivePlugins = WUPSBackendSettings::GetInactivePluginFilenames();
|
||||
|
||||
inactivePlugins.insert(tobeIgnoredFilePath.begin(), tobeIgnoredFilePath.end());
|
||||
for (const auto &d : inactivePlugins) {
|
||||
DEBUG_FUNCTION_LINE_INFO("%s should be ignores", d.c_str());
|
||||
DEBUG_FUNCTION_LINE_INFO("safemode: %s should be ignored", d.c_str());
|
||||
}
|
||||
WUPSBackendSettings::SetInactivePluginFilenames(inactivePlugins);
|
||||
WUPSBackendSettings::SaveSettings();
|
||||
|
Loading…
x
Reference in New Issue
Block a user