From 18a2c1406f1fa585f4574cd687b0791e52ab5d7a Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Fri, 11 Apr 2025 13:43:23 +0200 Subject: 2592fps again... --- ppu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ppu.c b/ppu.c index 50629be..9e081de 100644 --- a/ppu.c +++ b/ppu.c @@ -177,7 +177,6 @@ static inline void ppu_render_pixel(struct nes_state *state) { state->pixels[y * 256 + x] = ppu->palette[palette_index]; // NOTE(peter): Add color_emphasis bits (expand palette to 8x). } - __attribute__((hot, flatten)) static void ppu_tick(struct nes_state *state) { struct ppu_state *restrict ppu = &state->ppu; @@ -394,9 +393,7 @@ static void ppu_tick(struct nes_state *state) { case 340: { // Sprite pattern fetch ppu_fetch_sprite_patterns(state); } break; - } - } break; } } -- cgit v1.2.3