mirror of
https://github.com/holub/mame
synced 2025-06-07 05:13:46 +03:00
plugins/cheat: oops (nw)
This commit is contained in:
parent
4badd94ad7
commit
f5191c8605
@ -54,9 +54,12 @@ local function xml_parse(data)
|
||||
return xml_table
|
||||
end
|
||||
|
||||
local cpu_spaces = {}
|
||||
function xml.conv_cheat(data)
|
||||
local spaces, regions, output
|
||||
data = xml_parse(data)
|
||||
local cpu_spaces = {}
|
||||
|
||||
for tag, device in pairs(manager:machine().devices) do
|
||||
for tag, device in pairs(manager:machine().devices) do
|
||||
local sp
|
||||
for name, space in pairs(device.spaces) do
|
||||
if not sp then
|
||||
@ -65,11 +68,7 @@ for tag, device in pairs(manager:machine().devices) do
|
||||
end
|
||||
sp[space.index] = space.name
|
||||
end
|
||||
end
|
||||
|
||||
function xml.conv_cheat(data)
|
||||
local spaces, regions, output
|
||||
data = xml_parse(data)
|
||||
end
|
||||
|
||||
local function convert_expr(data)
|
||||
local write = false
|
||||
|
Loading…
Reference in New Issue
Block a user