Re-add settings options and other misc changes

This commit is contained in:
Irastris
2026-05-08 19:21:38 -04:00
parent 41e128c582
commit 9a80f3a08a
5 changed files with 50 additions and 14 deletions
+6 -6
View File
@@ -114,6 +114,9 @@ UserSettings g_userSettings = {
.backend = {
.isoPath {"backend.isoPath", ""},
.isoVerification {"backend.isoVerification", DiscVerificationState::Unknown},
#if DUSK_TPHD
.hdContentPath {"backend.hdContentPath", ""},
#endif
.graphicsBackend {"backend.graphicsBackend", "auto"},
.skipPreLaunchUI {"backend.skipPreLaunchUI", false},
.showPipelineCompilation {"backend.showPipelineCompilation", false},
@@ -122,9 +125,6 @@ UserSettings g_userSettings = {
.checkForUpdates {"backend.checkForUpdates", true},
.cardFileType {"backend.cardFileType", static_cast<int>(CARD_GCIFOLDER)},
.enableAdvancedSettings {"backend.enableAdvancedSettings", false},
#if DUSK_TPHD
.hdContentPath {"backend.hdContentPath", ""},
#endif
}
};
@@ -221,6 +221,9 @@ void registerSettings() {
Register(g_userSettings.backend.isoPath);
Register(g_userSettings.backend.isoVerification);
#if DUSK_TPHD
Register(g_userSettings.backend.hdContentPath);
#endif
Register(g_userSettings.backend.graphicsBackend);
Register(g_userSettings.backend.skipPreLaunchUI);
Register(g_userSettings.backend.showPipelineCompilation);
@@ -229,9 +232,6 @@ void registerSettings() {
Register(g_userSettings.backend.checkForUpdates);
Register(g_userSettings.backend.cardFileType);
Register(g_userSettings.backend.enableAdvancedSettings);
#if DUSK_TPHD
Register(g_userSettings.backend.hdContentPath);
#endif
}
// Transient settings