From 2fff9bbd8246d4685f14b6e3eb61742454f6d53a Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 30 Apr 2018 17:35:09 -0500 Subject: [PATCH] plugins/cheat: fix opcode space (nw) --- plugins/cheat/cheat_xml.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"