mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix translation of buttons on crash screen
This commit is contained in:
+2
-2
@@ -1240,7 +1240,7 @@ void EmuScreen::CreateViews() {
|
||||
});
|
||||
resumeButton_->SetVisibility(V_GONE);
|
||||
|
||||
resetButton_ = buttons->Add(new Button(dev->T("Reset")));
|
||||
resetButton_ = buttons->Add(new Button(di->T("Reset")));
|
||||
resetButton_->OnClick.Add([](UI::EventParams &) {
|
||||
if (coreState == CoreState::CORE_RUNTIME_ERROR) {
|
||||
System_PostUIMessage(UIMessage::REQUEST_GAME_RESET);
|
||||
@@ -1249,7 +1249,7 @@ void EmuScreen::CreateViews() {
|
||||
});
|
||||
resetButton_->SetVisibility(V_GONE);
|
||||
|
||||
backButton_ = buttons->Add(new Button(dev->T("Back")));
|
||||
backButton_ = buttons->Add(new Button(di->T("Back")));
|
||||
backButton_->OnClick.Add([this](UI::EventParams &) {
|
||||
this->pauseTrigger_ = true;
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in New Issue
Block a user