Moves joyport control to autoexec.bat to control per test.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -7s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -7s
This commit is contained in:
parent
f0f91a2c86
commit
807b32f92c
4 changed files with 14 additions and 25 deletions
|
|
@ -5,7 +5,7 @@
|
|||
# Adds the following command to openMSX;
|
||||
#
|
||||
# 'boot_gui_mode'
|
||||
# Enableds the renderer and throttle from the inside.
|
||||
# Enables the renderer and throttle from the inside.
|
||||
#
|
||||
# Supported environment variables by this script;
|
||||
#
|
||||
|
|
@ -24,12 +24,6 @@
|
|||
# SPEED=400
|
||||
# Sets msx speed to 4x of original but only when throttle is on.
|
||||
#
|
||||
# JOYPORTA=mouse
|
||||
# Inserts mouse in joyporta.
|
||||
#
|
||||
# JOYPORTB=mouse
|
||||
# Inserts mouse in joyportb.
|
||||
#
|
||||
# RECORDER=bin/output.avi
|
||||
# Enables the the video recorder.
|
||||
#
|
||||
|
|
@ -83,20 +77,6 @@ if {[info exists ::env(SPEED)] && ([string trim $::env(SPEED)] != "")} {
|
|||
}
|
||||
}
|
||||
|
||||
if {[info exists ::env(JOYPORTA)] && ([string trim $::env(JOYPORTA)] != "")} {
|
||||
if {[catch {plug joyporta [string trim $::env(JOYPORTA)]} err_msg]} {
|
||||
puts stderr "error: env.JOYPORTA value $err_msg"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
if {[info exists ::env(JOYPORTB)] && ([string trim $::env(JOYPORTB)] != "")} {
|
||||
if {[catch {plug joyportb [string trim $::env(JOYPORTB)]} err_msg]} {
|
||||
puts stderr "error: env.JOYPORTB value $err_msg"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
if {[info exists ::env(RECORDER)] && ([string trim $::env(RECORDER)] != "")} {
|
||||
if {[catch {after time 1 "record start -prefix [string trim $::env(RECORDER)]"} err_msg]} {
|
||||
puts stderr "error: env.RECORDER value $err_msg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue