OC-Tsuki/ksrc/biosfixes.lua

30 lines
608 B
Lua
Raw Normal View History

2020-06-02 16:23:58 +10:00
---@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]]