2020-05-12 16:16:36 +10:00
|
|
|
---@section biosfixes "BIOS fixes"
|
2020-05-12 07:35:07 +10:00
|
|
|
|
2020-06-02 16:14:26 +10:00
|
|
|
@[[do
|
|
|
|
local i=1]]
|
2020-05-09 13:51:05 +10:00
|
|
|
local _biossupport = {}
|
|
|
|
@[[function biosfix(bios)]]
|
2020-05-12 07:35:07 +10:00
|
|
|
--#include @[{"ksrc/bios/"..bios.."/docs.lua"}]
|
2020-05-09 13:51:05 +10:00
|
|
|
_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,
|
2020-06-02 16:14:26 +10:00
|
|
|
name = "@[{bios}]",
|
|
|
|
id = @[{i}]
|
2020-05-09 13:51:05 +10:00
|
|
|
}
|
2020-06-02 16:14:26 +10:00
|
|
|
_biossupport[@[{i}]] = "@[{bios}]"
|
|
|
|
@[[i=i+1]]
|
2020-05-09 13:51:05 +10:00
|
|
|
@[[end]]
|
|
|
|
|
|
|
|
@[[biosfix("zoryalegacy")]]
|
|
|
|
@[[biosfix("zoryaneo")]]
|
|
|
|
|
2020-06-02 16:14:26 +10:00
|
|
|
@[[biosfix("unknown")]]
|
|
|
|
@[[biosfix = nil]]
|
|
|
|
@[[end]]
|