Added workaround for video blue flashes of left over openMSX state
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -1s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -1s
This commit is contained in:
parent
78b2f24aed
commit
3fcac93e1c
2 changed files with 9 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ $(call mb-make-call,mb-doc-function,mb-autoexec-append-save-screenshot,Appends s
|
||||||
|
|
||||||
|
|
||||||
define mb-autoexec-append-save-video
|
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))
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl night_flight_save_video $(2))
|
||||||
endef
|
endef
|
||||||
$(call mb-make-call,mb-doc-function,mb-autoexec-append-save-video,Appends save video command.,<dir> [prefix])
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-save-video,Appends save video command.,<dir> [prefix])
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,14 @@ proc night_flight_save_screenshot {{prefix_id 0}} {
|
||||||
return "mb::save flight screenshot"
|
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}} {
|
proc night_flight_save_video {{prefix_id 0}} {
|
||||||
global night_flight_prefix
|
global night_flight_prefix
|
||||||
global night_flight_seperator
|
global night_flight_seperator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue