mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-08 12:11:51 +09:00
bootloader write fix
This commit is contained in:
@@ -43,6 +43,8 @@ fun main(args: Array<String>) {
|
||||
disk.checkReadOnly()
|
||||
// disk.checkCapacity(4096)
|
||||
|
||||
it.parentEntryID = 1
|
||||
|
||||
(it.contents as EntryFile).let { file ->
|
||||
val bytes = file.getContent()
|
||||
bytes.appendBytes(ByteArray(4096 - bytes.size.toInt()))
|
||||
|
||||
Reference in New Issue
Block a user