diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-04-11 13:43:23 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-04-11 13:43:23 +0200 |
| commit | 18a2c1406f1fa585f4574cd687b0791e52ab5d7a (patch) | |
| tree | 7582717901ed4bdff767d65ca5ffd00af7acf50f /ppu.c | |
| parent | 926c5dff02810084b1e819998ca46828f3e21610 (diff) | |
2592fps again...
Diffstat (limited to 'ppu.c')
| -rw-r--r-- | ppu.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; } } |
