device files are mounted under the drive letter of dollarsign

This commit is contained in:
minjaesong
2022-09-24 16:46:44 +09:00
parent f9eecab830
commit 0304ded991
8 changed files with 38 additions and 26 deletions

View File

@@ -26,7 +26,7 @@ if (!magicMatching) {
}
// decode input image
let ipfFile = files.open("FBIPF")
let ipfFile = files.open("$:/FBIPF")
graphics.clearText(); graphics.clearPixels(0); graphics.clearPixels2(0)
ipfFile.pwrite(infilePtr, infile.size, 0)
sys.free(infilePtr)