Set a few defaults automatically as a proof-of-concept (to reduce duplication)

See #18888
This commit is contained in:
Henrik Rydgård committed 2026-01-05 19:03:43 +01:00
1 parent ccb7eee91d
commit 38ebb9d729
9 files changed
+53 -21

No files matched your search

+2
View File
@@ -339,6 +339,8 @@ static void ClearFailedGPUBackends() {
void NativeInit(int argc, const char *argv[], const char *savegame_dir, const char *external_dir, const char *cache_dir) {
net::Init(); // This needs to happen before we load the config. So on Windows we also run it in Main. It's fine to call multiple times.
g_Config.Init();
IncrementDebugCounter(DebugCounter::APP_BOOT);
// Probably an excessive timeout. it only causes delays on shutdown, though.