fix: FPS conversion not changing video header

This commit is contained in:
minjaesong
2025-09-05 00:30:17 +09:00
parent c89b977e91
commit 9ff12edecd
5 changed files with 111 additions and 44 deletions

View File

@@ -0,0 +1,21 @@
const fullFilePath = _G.shell.resolvePathInput(exec_args[1])
let seqread = undefined
let fullFilePathStr = fullFilePath.full
let mode = ""
// Select seqread driver to use
if (fullFilePathStr.startsWith('$:/TAPE') || fullFilePathStr.startsWith('$:\\TAPE')) {
seqread = require("seqreadtape")
seqread.prepare(fullFilePathStr)
seqread.seek(0)
mode = "tape"
} else {
seqread = undefined
}
if ("tape" == mode) {
const prg = seqread.readString(65536)
eval(prg)
}

View File

@@ -60,13 +60,13 @@ let fullFilePathStr = fullFilePath.full
// Select seqread driver to use
if (fullFilePathStr.startsWith('$:/TAPE') || fullFilePathStr.startsWith('$:\\TAPE')) {
seqread = seqreadtape
seqread.prepare(fullFilePathStr)
seqread.seek(0)
} else {
seqread = seqreadserial
seqread.prepare(fullFilePathStr)
}
seqread.prepare(fullFilePathStr)
con.clear()
con.curs_set(0)
graphics.setGraphicsMode(4) // 4096-color mode