made SEBIOS not crash when there's an empty tape drive present
This commit is contained in:
parent
bd41474e31
commit
308c0acad5
@ -72,9 +72,9 @@ do
|
||||
end
|
||||
wl("SKS Enhanced BIOS v1")
|
||||
wl("Memory: "..tostring(computer.totalMemory()/1024).."K")
|
||||
wl("")
|
||||
wl(" ")
|
||||
for k,v in ipairs(bootdevs) do
|
||||
wl(tostring(k-1).." "..v.." "..component.type(v).." "..component.invoke(v,"getLabel"))
|
||||
wl(tostring(k-1).." "..v.." "..component.type(v).." "..(component.invoke(v,"getLabel") or ""))
|
||||
end
|
||||
local timer = 5
|
||||
while computer.uptime() < timer do
|
||||
|
Loading…
Reference in New Issue
Block a user