mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-14 14:38:04 +11:00
25 lines
458 B
Lua
25 lines
458 B
Lua
|
local function gen_proto(drive)
|
||
|
return {
|
||
|
methods = {
|
||
|
get = function()
|
||
|
return "< Virtual BIOS >"
|
||
|
end,
|
||
|
getData = function()
|
||
|
return string.char(2)..drive.."Zorya NEO BIOS"..string.char(0):rep(6)
|
||
|
end,
|
||
|
setData = function()
|
||
|
return ""
|
||
|
end,
|
||
|
set = function()
|
||
|
return ""
|
||
|
end,
|
||
|
getLabel = function()
|
||
|
return "Virtual OEFI BIOS"
|
||
|
end,
|
||
|
setLabel = function()
|
||
|
return "Virtual OEFI BIOS"
|
||
|
end
|
||
|
},
|
||
|
docs = {}
|
||
|
}
|
||
|
end
|