From 24aed3f57691c1737bc8f5a0f5cbff65628c9ac6 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 4 Aug 2020 23:03:19 -0700 Subject: [PATCH] GBA Video: Fix regression with GBA windows in DS mode --- include/mgba/internal/gba/video.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mgba/internal/gba/video.h b/include/mgba/internal/gba/video.h index e3a6a6291..45481c3a4 100644 --- a/include/mgba/internal/gba/video.h +++ b/include/mgba/internal/gba/video.h @@ -104,8 +104,8 @@ union GBAOAM { }; struct GBAVideoWindowRegion { - uint8_t end; - uint8_t start; + uint16_t end; + uint16_t start; }; #define GBA_TEXT_MAP_TILE(MAP) ((MAP) & 0x03FF)