mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
UI: Fix some logic dependent on screen tags.
9f38516 changed various tags but not code referencing them.
This commit is contained in:
1 parent
bf59640aa5
commit
6576b853e4
6 files changed
+10
-10
No files matched your search
+2
-2
@@ -172,7 +172,7 @@ public:
|
||||
return slot_;
|
||||
}
|
||||
|
||||
const char *tag() const override { return "screenshot_view"; }
|
||||
const char *tag() const override { return "ScreenshotView"; }
|
||||
|
||||
protected:
|
||||
bool FillVertical() const override { return false; }
|
||||
@@ -458,7 +458,7 @@ UI::EventReturn GamePauseScreen::OnState(UI::EventParams &e) {
|
||||
|
||||
void GamePauseScreen::dialogFinished(const Screen *dialog, DialogResult dr) {
|
||||
std::string tag = dialog->tag();
|
||||
if (tag == "screenshot" && dr == DR_OK) {
|
||||
if (tag == "ScreenshotView" && dr == DR_OK) {
|
||||
finishNextFrame_ = true;
|
||||
} else {
|
||||
// There may have been changes to our savestates, so let's recreate.
|
||||
|
||||
Reference in new issue
Block a user