mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
plugins/cheatfind: write found cheats (nw)
This commit is contained in:
parent
454db9d5d3
commit
37718e8602
@ -484,9 +484,11 @@ function cheatfind.startplugin()
|
||||
_G.ce.inject(cheat)
|
||||
end
|
||||
else
|
||||
|
||||
local json = require("json")
|
||||
local file = io.open(string.format("%s_%08x_cheat.json", emu.romname(), match.addr), "w")
|
||||
file:write(json.stringify(cheat))
|
||||
file:close()
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
devsel = devcur
|
||||
|
Loading…
Reference in New Issue
Block a user