fix check for rom size in AssembleFileE

This commit is contained in:
Redo 2022-11-01 14:52:25 -06:00
parent c162f1c98c
commit 50183f0aff

View File

@ -556,7 +556,7 @@ function AssembleFile(fn, romsizes, offsets, lens) local offset = tonumber(offse
local arch = arch8608
local mem = assembleFile(fn, arch)
printMemory(mem)
if #romsize>0 then assert(#romsize==3, "incorrect rom size") end
assert(#romsize==3, "incorrect rom size")
buildMemory(mem, romsize, offset, len)
disassembleMemory(mem, arch)
end