Added workaround for video blue flashes of left over openMSX state
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -1s

This commit is contained in:
Willem Cazander 2025-04-27 17:44:54 +02:00
parent 78b2f24aed
commit 3fcac93e1c
2 changed files with 9 additions and 0 deletions

View file

@ -122,6 +122,7 @@ $(call mb-make-call,mb-doc-function,mb-autoexec-append-save-screenshot,Appends s
define mb-autoexec-append-save-video
$(MB_ᕽᕽᕽ   )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl night_flight_init_video)
$(MB_ᕽᕽᕽ   )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl night_flight_save_video $(2))
endef
$(call mb-make-call,mb-doc-function,mb-autoexec-append-save-video,Appends save video command.,<dir> [prefix])

View file

@ -44,6 +44,14 @@ proc night_flight_save_screenshot {{prefix_id 0}} {
return "mb::save flight screenshot"
}
# TODO: rm, this is ugly workaround of left over boot logo blue flash
# at the moment the video starts recording, this moves it before recording
proc night_flight_init_video {} {
after time 1 "set pause on"
after realtime 1 "set pause off"
return "mb::zero flight flash"
}
proc night_flight_save_video {{prefix_id 0}} {
global night_flight_prefix
global night_flight_seperator