diff options
| author | 2016-04-28 21:17:09 -0500 | |
|---|---|---|
| committer | 2016-04-28 21:17:09 -0500 | |
| commit | 6bbd290d315b20be75fa52465803d7e76466736f (patch) | |
| tree | 99b42c8325fb024d5bf2cbe9d51eda8f9dc6cec1 /plugins/cheatfind | |
| parent | 7e394b5dbe91b30c689782908a3aeb3619fed988 (diff) | |
plugins/cheat*: indent the output (nw)
Diffstat (limited to 'plugins/cheatfind')
| -rw-r--r-- | plugins/cheatfind/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua index a14b1504765..dd9e358dbe5 100644 --- a/plugins/cheatfind/init.lua +++ b/plugins/cheatfind/init.lua @@ -518,7 +518,7 @@ function cheatfind.startplugin() local filename = string.format("%s/%s_%08X_cheat", manager:machine():options().entries.cheatpath:value(), emu.romname(), match.addr) local json = require("json") local file = io.open(filename .. ".json", "w") - file:write(json.stringify({[1] = cheat})) + file:write(json.stringify({[1] = cheat}, {indent = true})) file:close() file = io.open(filename .. ".xml", "w") file:write(xmlcheat) |
