plugins/cheatfind: write found cheats (nw)

This commit is contained in:
cracyc 2016-04-16 09:36:07 -05:00
parent 454db9d5d3
commit 37718e8602

View File

@ -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