Remove more uses of the ugly PromptScreen.

This commit is contained in:
Henrik Rydgård committed 2026-02-12 13:37:45 +01:00
1 parent fdfafc3e9f
commit f3c9b0cfeb
3 files changed
+10 -7

No files matched your search

+2 -1
View File
@@ -189,8 +189,9 @@ void DriverManagerScreen::CreateDriverTab(UI::ViewGroup *drivers) {
void DriverManagerScreen::OnCustomDriverChange(UI::EventParams &e) {
auto di = GetI18NCategory(I18NCat::DIALOG);
auto gr = GetI18NCategory(I18NCat::GRAPHICS);
screenManager()->push(new PromptScreen(gamePath_, di->T("Changing this setting requires PPSSPP to restart."), di->T("Restart"), di->T("Cancel"), [=](bool yes) {
screenManager()->push(new UI::MessagePopupScreen(gr->T("Drivers"), di->T("Changing this setting requires PPSSPP to restart."), di->T("Restart"), di->T("Cancel"), [=](bool yes) {
if (yes) {
INFO_LOG(Log::G3D, "Switching driver to '%s'", e.s.c_str());
g_Config.sCustomDriver = e.s;