mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Add an extremely basic achievement listing to the pause screen
This commit is contained in:
1 parent
8beca03e7e
commit
e054d66d6c
3 files changed
+22
-1
No files matched your search
+2
-1
@@ -51,6 +51,7 @@
|
||||
#include "UI/OnScreenDisplay.h"
|
||||
#include "UI/GameInfoCache.h"
|
||||
#include "UI/DisplayLayoutScreen.h"
|
||||
#include "UI/RetroAchievements.h"
|
||||
#include "UI/RetroAchievementScreens.h"
|
||||
|
||||
static void AfterSaveStateAction(SaveState::Status status, const std::string &message, void *) {
|
||||
@@ -346,7 +347,7 @@ void GamePauseScreen::CreateViews() {
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
}
|
||||
if (g_Config.bAchievementsEnable) {
|
||||
if (g_Config.bAchievementsEnable && Achievements::IsActive()) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Achievements")))->OnClick.Add([&](UI::EventParams &e) {
|
||||
screenManager()->push(new RetroAchievementsListScreen(gamePath_));
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in new issue
Block a user