Shorted video recorder env var.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -6s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -6s
This commit is contained in:
parent
857cc43fa5
commit
36d40dbbdd
|
@ -49,7 +49,7 @@ define _mb_openmsx_run
|
|||
SPEED=$(MB_OPENMSX_SPEED) \
|
||||
RENDERER=$(MB_OPENMSX_RENDERER) \
|
||||
THROTTLE=$(MB_OPENMSX_THROTTLE) \
|
||||
RECORD_SESSION=$(if $(filter on,$(MB_OPENMSX_RECORDER)),"$(1)-omsx/output.avi") \
|
||||
RECORDER=$(if $(filter on,$(MB_OPENMSX_RECORDER)),"$(1)-omsx/output.avi") \
|
||||
OPENMSX_USER_DATA="$(1)-omsx/share" \
|
||||
$(PATH_OPENMSX)/openmsx \
|
||||
-machine $(2) \
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
# JOYPORTB=mouse
|
||||
# Inserts mouse in joyportb.
|
||||
#
|
||||
# RECORD_SESSION=bin/output.avi
|
||||
# Enables the session video recorder.
|
||||
# RECORDER=bin/output.avi
|
||||
# Enables the the video recorder.
|
||||
#
|
||||
|
||||
if {[info exists ::env(RENDERER)] && ([string trim $::env(RENDERER)] != "")} {
|
||||
|
@ -67,9 +67,9 @@ if {[info exists ::env(JOYPORTB)] && ([string trim $::env(JOYPORTB)] != "")} {
|
|||
}
|
||||
}
|
||||
|
||||
if {[info exists ::env(RECORD_SESSION)] && ([string trim $::env(RECORD_SESSION)] != "")} {
|
||||
if {[catch {after time 1 "record start [string trim $::env(RECORD_SESSION)]"} err_msg]} {
|
||||
puts stderr "error: env.RECORD_SESSION value $err_msg"
|
||||
if {[info exists ::env(RECORDER)] && ([string trim $::env(RECORDER)] != "")} {
|
||||
if {[catch {after time 1 "record start [string trim $::env(RECORDER)]"} err_msg]} {
|
||||
puts stderr "error: env.RECORDER value $err_msg"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue