mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UI: Minor pause screen cleanup.
This commit is contained in:
parent
3431653791
commit
03ac79caba
2 changed files with 4 additions and 8 deletions
|
@ -172,8 +172,8 @@ private:
|
|||
UI::EventReturn OnSaveState(UI::EventParams &e);
|
||||
UI::EventReturn OnLoadState(UI::EventParams &e);
|
||||
|
||||
UI::Button *saveStateButton_;
|
||||
UI::Button *loadStateButton_;
|
||||
UI::Button *saveStateButton_ = nullptr;
|
||||
UI::Button *loadStateButton_ = nullptr;
|
||||
|
||||
int slot_;
|
||||
std::string gamePath_;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
class GamePauseScreen : public UIDialogScreenWithGameBackground {
|
||||
public:
|
||||
GamePauseScreen(const std::string &filename) : UIDialogScreenWithGameBackground(filename), finishNextFrame_(false), gamePath_(filename) {}
|
||||
GamePauseScreen(const std::string &filename) : UIDialogScreenWithGameBackground(filename), gamePath_(filename) {}
|
||||
virtual ~GamePauseScreen();
|
||||
|
||||
virtual void dialogFinished(const Screen *dialog, DialogResult dr) override;
|
||||
|
@ -39,7 +39,6 @@ protected:
|
|||
void CallbackDeleteConfig(bool yes);
|
||||
|
||||
private:
|
||||
UI::EventReturn OnMainSettings(UI::EventParams &e);
|
||||
UI::EventReturn OnGameSettings(UI::EventParams &e);
|
||||
UI::EventReturn OnExitToMenu(UI::EventParams &e);
|
||||
UI::EventReturn OnReportFeedback(UI::EventParams &e);
|
||||
|
@ -55,11 +54,8 @@ private:
|
|||
UI::EventReturn OnSwitchUMD(UI::EventParams &e);
|
||||
UI::EventReturn OnState(UI::EventParams &e);
|
||||
|
||||
UI::Choice *saveStateButton_;
|
||||
UI::Choice *loadStateButton_;
|
||||
|
||||
// hack
|
||||
bool finishNextFrame_;
|
||||
bool finishNextFrame_ = false;
|
||||
std::string gamePath_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue