summaryrefslogtreecommitdiffstatshomepage
path: root/plugins
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-04-30 17:35:09 -0500
committer cracyc <cracyc@users.noreply.github.com>2018-04-30 17:37:28 -0500
commit2fff9bbd8246d4685f14b6e3eb61742454f6d53a (patch)
treef15fffae15a374417ada94d0930ea322a1f2f2f5 /plugins
parent7d091028f5d28af15d49daac4aaf80c635c022e6 (diff)
plugins/cheat: fix opcode space (nw)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cheat/cheat_xml.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/cheat/cheat_xml.lua b/plugins/cheat/cheat_xml.lua
index fa24bc30079..ac63bb76c7c 100644
--- a/plugins/cheat/cheat_xml.lua
+++ b/plugins/cheat/cheat_xml.lua
@@ -69,10 +69,14 @@ function xml.conv_cheat(data)
fullspace = "data"
elseif space == "i" then
fullspace = "io"
- elseif space == "r" or space == "o" then
+ elseif space == "r" then
fullspace = "program"
mod = "direct_"
space = "p"
+ elseif space == "o" then
+ fullspace = "decrypted_opcodes"
+ mod = "direct_"
+ space = "o"
end
if width == "b" then
width = "u8"