From cc1cd492e7bdc6ea25647f49cc59ebc9edecc637 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 22 Jun 2013 21:29:21 -0700 Subject: I think there's an overlap problem in the extraction with the windows. This at least will work around the insertion. --- VP-roomwork.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'VP-roomwork.lua') diff --git a/VP-roomwork.lua b/VP-roomwork.lua index 839b5af..d07cdf4 100644 --- a/VP-roomwork.lua +++ b/VP-roomwork.lua @@ -57,6 +57,7 @@ function patch_logic(logic, windows, activate_debug) local window = windows[txtptr + ptr_start] if not window then return end if window.wtype == "fixed" then return end + if window.x == "var" or window.y == "var" or window.width == "var" or window.height == "var" then return end local arg1 = orB(window.x, shl(window.y, 16)) local arg2 = orB(window.width, shl(window.height, 16)) patch_opcode(PC + 1, arg1) -- cgit v1.2.3