From a8e0c141b0184d629504b9f0ee8dbc4fefb90934 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Sat, 24 May 2025 15:45:54 +0200 Subject: 3011fps --- mappers/mapper_000_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mappers/mapper_000_0.c') diff --git a/mappers/mapper_000_0.c b/mappers/mapper_000_0.c index 8e46090..cc7baf8 100644 --- a/mappers/mapper_000_0.c +++ b/mappers/mapper_000_0.c @@ -1,13 +1,13 @@ -__attribute__((section(".mapper_000_0"), hot)) +__attribute__((section(".mapper_000_0"))) static uint8_t mapper_000_0_prg_read(struct nes_state *state, uint32_t addr) { struct mapper_000_0 *mapper = (struct mapper_000_0 *)&state->map; return state->prg_rom[addr & mapper->mask]; } -__attribute__((section(".mapper_000_0"), hot)) +__attribute__((section(".mapper_000_0"))) static uint8_t mapper_000_0_chr_read(struct nes_state *state, uint32_t addr) { return state->chr_rom[addr]; } -- cgit v1.2.3