OC-Tsuki/ksrc/biosfixes.lua
Jane Roxanne e44d6177a0 kio++
2020-06-02 01:14:26 -05:00

30 lines
608 B
Lua

---@section biosfixes "BIOS fixes"
@[[do
local i=1]]
local _biossupport = {}
@[[function biosfix(bios)]]
--#include @[{"ksrc/bios/"..bios.."/docs.lua"}]
_biossupport["@[{bios}]"] = {
quirks = function()
--#include @[{"ksrc/bios/"..bios.."/quirks.lua"}]
end,
info = function()
--#include @[{"ksrc/bios/"..bios.."/info.lua"}]
end,
detect = function()
--#include @[{"ksrc/bios/"..bios.."/detect.lua"}]
end,
name = "@[{bios}]",
id = @[{i}]
}
_biossupport[@[{i}]] = "@[{bios}]"
@[[i=i+1]]
@[[end]]
@[[biosfix("zoryalegacy")]]
@[[biosfix("zoryaneo")]]
@[[biosfix("unknown")]]
@[[biosfix = nil]]
@[[end]]