30 lines
608 B
Lua
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]] |