]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
od-unix: seed Qt launcher from default.uae at startup
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Fri, 12 Jun 2026 04:31:19 +0000 (21:31 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 17 Jun 2026 19:24:40 +0000 (12:24 -0700)
commit75bf1dc172c1a5813dd2dc1f2c9a6a6dccead997
tree05758de1b00cae4849454139237153e2e6e5bca4
parent14141b474da3fb2138213396df24e38d2c71d217
od-unix: seed Qt launcher from default.uae at startup

The shared core loads <configurationpath>/default.uae into the prefs at
startup (main.cpp real_main), but the Qt launcher built its state from
scratch, so the default configuration had no visible effect unless the
GUI was disabled. Pass the file as the launcher's initial config path
when it exists, matching the Windows "save as default.uae" behavior.

Configs given on the command line keep precedence: the launcher's own
argument parsing decides, exposed through the bridge so gui_init does
not duplicate it. The bridge no longer infers runtime mode from "an
initial config path is present"; gui_display passes it explicitly.
README_unix.md
od-unix/gui.cpp
od-unix/qt/launcher.cpp
od-unix/qt/launcher.h
od-unix/qt/launcher_bridge.cpp
od-unix/qt/launcher_bridge.h