implement pre-launch ui for configuring iso directory (#301)

UI will automatically open on boot and will not launch the game if there is no valid iso path specified in the config. Can optionally be disabled on future game launches.
This commit is contained in:
CraftyBoss
2026-04-09 22:06:37 -07:00
committed by GitHub
parent b1616c0302
commit 300ed931e3
13 changed files with 351 additions and 12 deletions
+8
View File
@@ -58,6 +58,11 @@ UserSettings g_userSettings = {
// Controls
.enableTurboKeybind {"game.enableTurboKeybind", true},
},
.backend = {
.isoPath {"backend.isoPath", ""},
.skipPreLaunchUI {"backend.skipPreLaunchUI", false}
}
};
UserSettings& getSettings() {
@@ -103,6 +108,9 @@ void registerSettings() {
Register(g_userSettings.game.midnasLamentNonStop);
Register(g_userSettings.game.enableTurboKeybind);
Register(g_userSettings.game.fastSpinner);
Register(g_userSettings.backend.isoPath);
Register(g_userSettings.backend.skipPreLaunchUI);
}
// Transient settings