From ec3caa98bdcab04b0cb90b3cf1c1eb740433dfd6 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 27 Aug 2017 11:07:21 +1000 Subject: srcclean (nw) --- plugins/cheat/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/cheat/init.lua') diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index 914a0e631cb..70a09e8c690 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -15,8 +15,8 @@ -- ... ] -- }, -- "cpu": { --- "varname": "tag" --- ... +-- "varname": "tag" +-- ... -- } -- "space": { -- "varname": { @@ -57,7 +57,7 @@ -- - output is a function and argindex isn't supported, output args need to be explicit and a screen device -- must be provided -- - cpu is only used for break and watch points, if it is defined and the debugger is not enabled (-debugger none is enough) --- it will disable the cheat only if a point is set, check var for nil first +-- it will disable the cheat only if a point is set, check var for nil first -- - watch points require the address space that you want to set the watch on, wptype is "r"-read, "w"-write or "rw"-both local exports = {} @@ -363,7 +363,7 @@ function cheat.startplugin() end cheat.cheat_env[name] = { bpset = function(addr, func) bpset(cheat, dev, addr, func) end, - wpset = function(space, wptype, addr, len, func) wpset(cheat, dev, space, wptype, addr, len, func) end, + wpset = function(space, wptype, addr, len, func) wpset(cheat, dev, space, wptype, addr, len, func) end, regs = dev.state } cheat.bp = {} cheat.wp = {} -- cgit v1.2.3