new clcd ui (this will be the new default portable machine)

This commit is contained in:
minjaesong
2022-09-21 21:26:18 +09:00
parent 0d7f130e95
commit cab2699794
8 changed files with 82 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ let infile = files.open(_G.shell.resolvePathInput(exec_args[2]).full)
let outfile = files.open(_G.shell.resolvePathInput(exec_args[3]).full)
let ipfType = (exec_args[1]|0) - 1
let encodefun = ([graphics.decodeIpf1, graphics.decodeIpf2])[ipfType]
let encodefun = ([graphics.encodeIpf1, graphics.encodeIpf2])[ipfType]
if (encodefun === undefined) throw Error(`Unknown IPF format: ${exec_args[1]}`)
// read input file