summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-08-27 11:07:21 +1000
committer Vas Crabb <vas@vastheman.com>2017-08-27 11:07:21 +1000
commitec3caa98bdcab04b0cb90b3cf1c1eb740433dfd6 (patch)
tree337a198314bc8532025a9a1107430de7aafc1388 /plugins/cheat/init.lua
parentd969bebe1a47abe407c3ab280227213856b257bd (diff)
srcclean (nw)
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r--plugins/cheat/init.lua8
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 = {}