mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-07 20:11:46 -04:00
Re-add settings options and other misc changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user