diff options
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) |
