diff options
Diffstat (limited to 'plugins/cheatfind/init.lua')
-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 bc3bc09fd2e..57a6b6aad3e 100644 --- a/plugins/cheatfind/init.lua +++ b/plugins/cheatfind/init.lua @@ -419,7 +419,7 @@ function cheatfind.startplugin() file:write(string.format(cheat_save.json, desc)) file:close() -- xml or simple are program space only - if not getmetatable(devtable[devcur].space).__name:match("device_t") and devtable[devcur].sname == "program" then + if not getmetatable(devtable[devcur].space).__name:match("device_t") and devtable[devcur].sname == "program" then file = io.open(filename .. ".xml", "w") file:write(string.format(cheat_save.xml, desc)) file:close() |