From e491b70f038fec99f824545d5d573e81f3bb6384 Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 29 Jan 2018 14:14:39 -0600 Subject: plugins/cheatfind: read whole block (nw) --- plugins/cheatfind/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua index 514e574f87e..17bfef7c4d0 100644 --- a/plugins/cheatfind/init.lua +++ b/plugins/cheatfind/init.lua @@ -67,7 +67,7 @@ function cheatfind.startplugin() local temp = {} local j = 1 if data.shift >= 0 then -- region or byte wide space - for i = start, start + size, 1 << data.shift do + for i = start, start + (size << data.shift), 1 << data.shift do if j < 65536 then temp[j] = string.pack("B", space:read_u8(i)) j = j + 1 -- cgit v1.2.3