mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
Fix XML cheats which use multiple spaces. (#7998)
This commit is contained in:
parent
337938f530
commit
bf21508faa
@ -264,7 +264,6 @@ function xml.conv_cheat(data)
|
|||||||
if next(spaces) then
|
if next(spaces) then
|
||||||
data["cheat"][count]["space"] = {}
|
data["cheat"][count]["space"] = {}
|
||||||
for name, space in pairs(spaces) do
|
for name, space in pairs(spaces) do
|
||||||
data["cheat"][count]["space"] = {}
|
|
||||||
data["cheat"][count]["space"][name] = { type = space["type"], tag = space["tag"] }
|
data["cheat"][count]["space"][name] = { type = space["type"], tag = space["tag"] }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user