diff options
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r-- | plugins/cheat/init.lua | 3 |
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 |