Skip to content

Commit

Permalink
(PPU) Turn some variables static
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Jan 24, 2024
1 parent e95d072 commit 01d0351
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ppu.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ static int deempcnt[8];
void (*GameHBIRQHook)(void), (*GameHBIRQHook2)(void);
void (*PPU_hook)(uint32 A);

uint8 vtoggle = 0;
uint8 XOffset = 0;
static uint8 vtoggle = 0;
static uint8 XOffset = 0;

uint32 TempAddr = 0, RefreshAddr = 0;
static uint32 TempAddr = 0;
uint32 RefreshAddr = 0;

static int maxsprites = 8;

Expand Down

0 comments on commit 01d0351

Please sign in to comment.