mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Remove more uses of the ugly PromptScreen.
This commit is contained in:
1 parent
fdfafc3e9f
commit
f3c9b0cfeb
3 files changed
+10
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user