Implement UnhandledExceptionFilter and revert "set intro scene background to white"

Also use g_iScreenWidth and g_iScreenHeight in RMLManager
This commit is contained in:
GabsPuNs
2026-06-20 15:35:42 -04:00
parent 82d80943b7
commit d3af93969a
11 changed files with 96 additions and 91 deletions

View File

@@ -182,24 +182,28 @@ void UIScene_SettingsMenu::handleInput(int iPad, int key, bool repeat, bool pres
{
case ACTION_MENU_UP:
ctx->ProcessKeyDown(Rml::Input::KI_UP, 0);
handled = true;
break;
case ACTION_MENU_DOWN:
ctx->ProcessKeyDown(Rml::Input::KI_DOWN, 0);
handled = true;
break;
case ACTION_MENU_OK:
if (g_KBMInput.IsKeyPressed(VK_RETURN))
{
ctx->ProcessKeyDown(Rml::Input::KI_RETURN, 0);
handled = true;
}
break;
case ACTION_MENU_CANCEL:
case ACTION_MENU_PAUSEMENU:
app.CheckGameSettingsChanged(true, iPad);
navigateBack();
handled = true;
break;
default:
break;
}
handled = true;
}
void UIScene_SettingsMenu::ProcessEvent(Rml::Event& event)