From ca57bdaabe51519e693e8937363f97b6ff085023 Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Tue, 28 Oct 2025 05:17:19 -0400 Subject: [PATCH] ks_nes_common: make ksNesPPUScanlineState's chr_bank_sprite array 8 bytes instead of 4 --- include/Famicom/ks_nes_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Famicom/ks_nes_common.h b/include/Famicom/ks_nes_common.h index 33a435c3..de2d22f6 100644 --- a/include/Famicom/ks_nes_common.h +++ b/include/Famicom/ks_nes_common.h @@ -130,7 +130,7 @@ typedef struct ksNesPPUScanlineState { u8* nametable_ptrs[2]; // Either chr_bank_sprite or chr_bank_bg_mmc3 is used depending on mapper type and CPU cycle union { - u8 chr_bank_sprite[4]; // lower four bytes are unused when not in MMC3 mode + u8 chr_bank_sprite[8]; u32 chr_bank_bg_mmc3[2]; // used in ksNesDrawMakeBGIndTex when the scanline column is >= 9. };