Windows: Refactor console positioning, moving the code out of EmuThread.cpp

This commit is contained in:
Henrik Rydgård committed 2026-07-18 20:58:29 +02:00
1 parent 1c918729d0
commit fdf186e43b
4 files changed
+28 -14

No files matched your search

+3
View File
@@ -575,6 +575,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
// Note that if we don't have storage permission here, loading the config will
// fail and it will be set to the default. Later, we load again when we get permission.
g_Config.Load();
System_Notify(SystemNotification::CONFIG_LOADED);
#endif
const char *fileToLog = nullptr;
@@ -1708,6 +1709,8 @@ void NativeShutdown() {
g_screenManager = nullptr;
}
System_Notify(SystemNotification::BEFORE_CONFIG_SAVE_ON_EXIT);
g_Config.Save("NativeShutdown");
g_i18nrepo.LogMissingKeys();