made it easier to check for compat
This commit is contained in:
@@ -61,12 +61,11 @@ do
|
||||
|
||||
-- backwards compatibility, may remove later
|
||||
local eeprom = component.list("eeprom")()
|
||||
local bootAddr = nil
|
||||
computer.getBootAddress = function()
|
||||
return bootAddr
|
||||
return boot_invoke(eeprom, "getData")
|
||||
end
|
||||
computer.setBootAddress = function(address)
|
||||
bootAddr = address
|
||||
boot_invoke(eeprom, "setData", address)
|
||||
end
|
||||
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user