From 83adc109e7b70dad4bd12e2fa1b6877f41e7c94c Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 30 Jul 2017 21:33:23 -0500 Subject: plugins/data: add marp scores [Carl] --- plugins/cheat/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/cheat/init.lua') 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 -- cgit v1.2.3-70-g09d2