summaryrefslogtreecommitdiffstatshomepage
path: root/plugins
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-11-08 08:19:27 -0600
committer cracyc <cracyc@users.noreply.github.com>2018-11-08 08:19:27 -0600
commit7301399d2e41c797842a5a813843d88099c31715 (patch)
treee063d5e8a5653af807ee6acc0c8a16e4bdc4af97 /plugins
parent3b4e58d089154412f38647084a69af240fcda186 (diff)
plugins/cheatfind: fix xml writer (nw)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cheatfind/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua
index da7aa1fb9b7..f0548b38384 100644
--- a/plugins/cheatfind/init.lua
+++ b/plugins/cheatfind/init.lua
@@ -784,7 +784,7 @@ function cheatfind.startplugin()
local json = require("json")
cheat.desc = "%s"
cheat_save.json = json.stringify({[1] = cheat}, {indent = true})
- cheat_save.xml = string.format("<mamecheat version=1>\n<cheat desc=\"%%s\">\n<script state=\"run\">\n<action>%s.pp%s@%X=%X</action>\n</script>\n</cheat>\n</mamecheat>", dev.tag:sub(2), widchar, match.addr, match.newval)
+ cheat_save.xml = string.format("<mamecheat version="1">\n<cheat desc=\"%%s\">\n<script state=\"run\">\n<action>%s.pp%s@%X=%X</action>\n</script>\n</cheat>\n</mamecheat>", dev.tag:sub(2), widchar, match.addr, match.newval)
cheat_save.simple = string.format("%s,%s,%X,%s,%X,%%s\n", setname, dev.tag, match.addr, widchar, match.newval)
manager:machine():popmessage(string.format(_("Default name is %s"), cheat_save.name))
return true