Moved normal exit to headless control script.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s

This commit is contained in:
Willem Cazander 2024-06-30 13:56:18 +02:00
parent ab02b54175
commit 94f532ffa9
3 changed files with 9 additions and 9 deletions

View file

@ -4,6 +4,9 @@
#
# Adds the following command to openMSX;
#
# 'headless_exit'
# A normal exit of the openMSX emulator.
#
# 'headless_show_gui'
# Enables the renderer and throttle from the inside.
#
@ -27,6 +30,11 @@
set boot_env_renderer_type 0
proc headless_exit {} {
after time 1 "exit 0"
return "Shutdown openMSX"
}
proc headless_show_gui {} {
global renderer
global throttle