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