summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
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 = {}