fix check for rom size in AssembleFileE
This commit is contained in:
parent
c162f1c98c
commit
50183f0aff
@ -556,7 +556,7 @@ function AssembleFile(fn, romsizes, offsets, lens) local offset = tonumber(offse
|
|||||||
local arch = arch8608
|
local arch = arch8608
|
||||||
local mem = assembleFile(fn, arch)
|
local mem = assembleFile(fn, arch)
|
||||||
printMemory(mem)
|
printMemory(mem)
|
||||||
if #romsize>0 then assert(#romsize==3, "incorrect rom size") end
|
assert(#romsize==3, "incorrect rom size")
|
||||||
buildMemory(mem, romsize, offset, len)
|
buildMemory(mem, romsize, offset, len)
|
||||||
disassembleMemory(mem, arch)
|
disassembleMemory(mem, arch)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user