mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-23 19:41:49 +01:00
Add support for B-button in active-mode-screen
This commit is contained in:
parent
8be76541cd
commit
4fc393f37a
@ -119,12 +119,18 @@ ConfigSubState ConfigRenderer::UpdateStateMain(const Input &input) {
|
|||||||
return SUB_STATE_RUNNING;
|
return SUB_STATE_RUNNING;
|
||||||
}
|
}
|
||||||
} else if (input.data.buttons_d & (Input::eButtons::BUTTON_B | Input::eButtons::BUTTON_HOME)) {
|
} else if (input.data.buttons_d & (Input::eButtons::BUTTON_B | Input::eButtons::BUTTON_HOME)) {
|
||||||
mNeedRedraw = true;
|
if (mSetActivePluginsMode) {
|
||||||
mCategoryRenderer.reset();
|
mNeedRedraw = true;
|
||||||
for (const auto &element : configs) {
|
mSetActivePluginsMode = false;
|
||||||
CallOnCloseCallback(element.get().getConfigInformation(), element.get().getConfig());
|
return SUB_STATE_RUNNING;
|
||||||
|
} else {
|
||||||
|
mNeedRedraw = true;
|
||||||
|
mCategoryRenderer.reset();
|
||||||
|
for (const auto &element : configs) {
|
||||||
|
CallOnCloseCallback(element.get().getConfigInformation(), element.get().getConfig());
|
||||||
|
}
|
||||||
|
return SUB_STATE_RETURN;
|
||||||
}
|
}
|
||||||
return SUB_STATE_RETURN;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mCursorPos < 0) {
|
if (mCursorPos < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user