Skip to content

Commit

Permalink
ppu: fix memory corruption out-of-bounds bug
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed May 20, 2021
1 parent e88fc5a commit e0b6a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arm9/source/ppu.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static Uint8 font[][8] = {
#define PPU_TILES_HEIGHT 24

DTCM_BSS
static Uint32 tile_dirty[PPU_TILES_HEIGHT];
static Uint32 tile_dirty[PPU_TILES_HEIGHT + 1];

DTCM_DATA
static Uint32 lut_expand_8_32[256] = {
Expand Down

0 comments on commit e0b6a7f

Please sign in to comment.