]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
od-unix: match Windows GUI button semantics in runtime (F12) UI
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Fri, 12 Jun 2026 04:58:38 +0000 (21:58 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 17 Jun 2026 19:24:40 +0000 (12:24 -0700)
commitaf9633a6e02e0de1cdb244f77052f1e9877ff795
tree7dbca641b223a65032d24f79ae273d2633870ba3
parent58412b0fabd6426aee36b1171342005091d3493f
od-unix: match Windows GUI button semantics in runtime (F12) UI

The runtime GUI's bottom button row behaved like the pre-start launcher:
Quit and Cancel both just closed the dialog and resumed emulation, Reset
reverted the UI to A1200 quickstart defaults, and Restart was hidden.
Mirror the Windows GUI (IDC_RESETAMIGA/IDC_QUITEMU/IDC_RESTARTEMU):

- Quit requests uae_quit() and exits the emulator.
- Reset applies the edited configuration and hard-resets the Amiga
  (uae_reset(1,1)), then resumes.
- Restart is shown in runtime mode and returns to the launcher through
  uae_restart().
- Start is relabeled OK while emulation is running; Cancel and closing
  the window still resume without applying changes.

The launcher result carries the new quit/restart states and a hard-reset
flag through the bridge; pre-start behavior is unchanged.

Also write floppy paths and the first CD slot into the merged config
even when empty, so ejecting media in the runtime GUI reaches the
core's disk-change detection instead of silently keeping the old image.
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