mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Copy-paste retroachievement support from DuckStation. No fixes yet!
This commit is contained in:
1 parent
da1691e4f9
commit
4745999665
5 files changed
+2323
-44
No files matched your search
+5
-1
@@ -178,7 +178,6 @@ static const ConfigSetting generalSettings[] = {
|
||||
ConfigSetting("CwCheatRefreshRate", &g_Config.iCwCheatRefreshRate, 77, CfgFlag::PER_GAME),
|
||||
ConfigSetting("CwCheatScrollPosition", &g_Config.fCwCheatScrollPosition, 0.0f, CfgFlag::PER_GAME),
|
||||
ConfigSetting("GameListScrollPosition", &g_Config.fGameListScrollPosition, 0.0f, CfgFlag::DEFAULT),
|
||||
ConfigSetting("EnableRetroAchievements", &g_Config.bEnableRetroAchievements, false, CfgFlag::PER_GAME),
|
||||
|
||||
ConfigSetting("ScreenshotsAsPNG", &g_Config.bScreenshotsAsPNG, false, CfgFlag::PER_GAME),
|
||||
ConfigSetting("UseFFV1", &g_Config.bUseFFV1, false, CfgFlag::DEFAULT),
|
||||
@@ -265,6 +264,10 @@ static bool DefaultSasThread() {
|
||||
return cpu_info.num_cores > 1;
|
||||
}
|
||||
|
||||
static const ConfigSetting achievementSettings[] = {
|
||||
ConfigSetting("Enable", &g_Config.bAchievementsEnable, false, CfgFlag::PER_GAME),
|
||||
};
|
||||
|
||||
static const ConfigSetting cpuSettings[] = {
|
||||
ConfigSetting("CPUCore", &g_Config.iCpuCore, &DefaultCpuCore, CfgFlag::PER_GAME | CfgFlag::REPORT),
|
||||
ConfigSetting("SeparateSASThread", &g_Config.bSeparateSASThread, &DefaultSasThread, CfgFlag::PER_GAME | CfgFlag::REPORT),
|
||||
@@ -888,6 +891,7 @@ static const ConfigSectionSettings sections[] = {
|
||||
{"Upgrade", upgradeSettings, ARRAY_SIZE(upgradeSettings)},
|
||||
{"Theme", themeSettings, ARRAY_SIZE(themeSettings)},
|
||||
{"VR", vrSettings, ARRAY_SIZE(vrSettings)},
|
||||
{"Achievements", achievementSettings, ARRAY_SIZE(achievementSettings)},
|
||||
};
|
||||
|
||||
const size_t numSections = ARRAY_SIZE(sections);
|
||||
|
||||
Reference in new issue
Block a user