You can now log into RetroAchievements with hardcoded user/pass

This commit is contained in:
Henrik Rydgård committed 2023-06-26 10:01:40 +02:00
1 parent 66d9c24f72
commit b84a6f83e1
6 files changed
+80 -6

No files matched your search

+6
View File
@@ -53,6 +53,7 @@
#include "UI/GPUDriverTestScreen.h"
#include "UI/MemStickScreen.h"
#include "UI/Theme.h"
#include "UI/RetroAchievementScreens.h"
#include "Common/File/FileUtil.h"
#include "Common/File/AndroidContentURI.h"
@@ -850,6 +851,11 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) {
auto vr = GetI18NCategory(I18NCat::VR);
auto th = GetI18NCategory(I18NCat::THEMES);
systemSettings->Add(new Choice(sy->T("Achievements")))->OnClick.Add([&](UI::EventParams &) -> UI::EventReturn {
screenManager()->push(new RetroAchievementsSettingsScreen(gamePath_));
return UI::EVENT_DONE;
});
systemSettings->Add(new ItemHeader(sy->T("UI")));
auto langCodeToName = [](const char *value) -> std::string {