mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-22 20:59:16 +01:00
Add support for B-button in active-mode-screen
This commit is contained in:
parent
16c40684a1
commit
87ca550b61
@ -128,6 +128,11 @@ 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)) {
|
||||||
|
if (mSetActivePluginsMode) {
|
||||||
|
mNeedRedraw = true;
|
||||||
|
mSetActivePluginsMode = false;
|
||||||
|
return SUB_STATE_RUNNING;
|
||||||
|
} else {
|
||||||
mNeedRedraw = true;
|
mNeedRedraw = true;
|
||||||
mCategoryRenderer.reset();
|
mCategoryRenderer.reset();
|
||||||
for (const auto &element : configs) {
|
for (const auto &element : configs) {
|
||||||
@ -135,6 +140,7 @@ ConfigSubState ConfigRenderer::UpdateStateMain(const Input &input) {
|
|||||||
}
|
}
|
||||||
return SUB_STATE_RETURN;
|
return SUB_STATE_RETURN;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (mCursorPos < 0) {
|
if (mCursorPos < 0) {
|
||||||
mCursorPos = (int32_t) totalElementSize - 1;
|
mCursorPos = (int32_t) totalElementSize - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user