From 4f3c91361dd5fc98d5b6a11d50806716468c9b30 Mon Sep 17 00:00:00 2001 From: MeirGavish Date: Thu, 10 Jul 2025 23:37:56 +0300 Subject: [PATCH] Whitespace edit --- source/graphic_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/graphic_utils.c b/source/graphic_utils.c index 48fa243..3fb85d6 100644 --- a/source/graphic_utils.c +++ b/source/graphic_utils.c @@ -45,8 +45,8 @@ void main_bg_se_copy_rect_1_tile_vert(Rect se_rect, int direction) // Clip to avoid read/write overflow of the screenblock Rect bounding_rect = FULL_SCREENBLOCK_RECT; - bounding_rect.top = 1; - bounding_rect.bottom = SE_COL_LEN - 1; + bounding_rect.top = 1; + bounding_rect.bottom = SE_COL_LEN - 1; clip_se_rect_to_bounding_rect(&se_rect, &bounding_rect); int start = (direction == SE_UP) ? se_rect.top : se_rect.bottom; @@ -55,7 +55,7 @@ void main_bg_se_copy_rect_1_tile_vert(Rect se_rect, int direction) for (int y = start; y != end - direction; y -= direction) { memcpy16(&se_mem[MAIN_BG_SBB][se_rect.left + SE_ROW_LEN * (y + direction)], - &se_mem[MAIN_BG_SBB][se_rect.left + SE_ROW_LEN * y], + &se_mem[MAIN_BG_SBB][se_rect.left + SE_ROW_LEN * y], se_rect.right - se_rect.left + 1); } }