From e9a46b2acf7aef3e9cdfb5ecde8f56256e402318 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 6 Aug 2022 01:25:09 +0100 Subject: img --- img/better_disp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'img') diff --git a/img/better_disp.lua b/img/better_disp.lua index d8bbc8d..d7b59c1 100644 --- a/img/better_disp.lua +++ b/img/better_disp.lua @@ -39,8 +39,8 @@ local function disp(R,img,scrx,scry,w,h,imgx,imgy) local sw = math.ceil(w/2) local sh = math.ceil(h/3) - for soffx=0,sw-1 do - for soffy=0,sh-1 do + for soffx=0,sw do + for soffy=0,sh do local ioffx=soffx*2 local ioffy=soffy*3 R.setCursorPos(scrx+soffx,scry+soffy) -- cgit v1.2.3