diff options
| author | 2017-08-27 11:07:21 +1000 | |
|---|---|---|
| committer | 2017-08-27 11:07:21 +1000 | |
| commit | ec3caa98bdcab04b0cb90b3cf1c1eb740433dfd6 (patch) | |
| tree | 337a198314bc8532025a9a1107430de7aafc1388 /plugins/cheat/init.lua | |
| parent | d969bebe1a47abe407c3ab280227213856b257bd (diff) | |
srcclean (nw)
Diffstat (limited to 'plugins/cheat/init.lua')
| -rw-r--r-- | plugins/cheat/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
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 = {} |
