Moved normal exit to headless control script.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s
This commit is contained in:
parent
ab02b54175
commit
94f532ffa9
3 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue