summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2017-07-30 21:33:23 -0500
committer cracyc <cracyc@users.noreply.github.com>2017-07-30 21:33:23 -0500
commit83adc109e7b70dad4bd12e2fa1b6877f41e7c94c (patch)
tree5b4ee835531c7af9631acfdc421bd96fcb8e0cb8 /plugins/cheat/init.lua
parent25e6589df601d58fc25ba0be56fe7bd49f2f7e0e (diff)
plugins/data: add marp scores [Carl]
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r--plugins/cheat/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua
index e9150e1bda4..914a0e631cb 100644
--- a/plugins/cheat/init.lua
+++ b/plugins/cheat/init.lua
@@ -363,7 +363,8 @@ 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 = {}
if not periodicset then