ks_nes_common: make ksNesPPUScanlineState's chr_bank_sprite array 8 bytes instead of 4

This commit is contained in:
Cuyler36
2025-10-28 05:17:19 -04:00
parent 20b0337e78
commit ca57bdaabe
+1 -1
View File
@@ -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.
};