mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-14 23:16:06 +09:00
TEVD disk drive now uses PartialDOM
This commit is contained in:
@@ -23,7 +23,7 @@ const actions = {
|
||||
graphics.setBackground(34,51,68)
|
||||
sys.poke(-1299460, 20)
|
||||
sys.poke(-1299460, 21)
|
||||
}
|
||||
},
|
||||
"audio": ()=>{
|
||||
for (let k = 0; k < 4; k++) {
|
||||
audio.stop(k)
|
||||
@@ -46,7 +46,7 @@ if (!verb) {
|
||||
return 10
|
||||
}
|
||||
|
||||
let actionfun = actions[verb][target]
|
||||
let actionfun = actions[verb.toLowerCase()][target.toLowerCase()]
|
||||
if (actionfun) actionfun()
|
||||
else {
|
||||
printerrln(`sysctl: unknown target ${target}`)
|
||||
|
||||
Reference in New Issue
Block a user