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_066_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mappers/mapper_066_0.c') diff --git a/mappers/mapper_066_0.c b/mappers/mapper_066_0.c index 7a8f49c..9629fb2 100644 --- a/mappers/mapper_066_0.c +++ b/mappers/mapper_066_0.c @@ -1,5 +1,5 @@ -__attribute__((section(".mapper_066_0"), hot)) +__attribute__((section(".mapper_066_0"))) static uint8_t mapper_066_0_prg_read(struct nes_state *state, uint32_t addr) { struct mapper_066_0 *mapper = (struct mapper_066_0 *)&state->map; @@ -9,7 +9,7 @@ static uint8_t mapper_066_0_prg_read(struct nes_state *state, uint32_t addr) { return 0; } -__attribute__((section(".mapper_066_0"), hot)) +__attribute__((section(".mapper_066_0"))) static void mapper_066_0_prg_write(struct nes_state *state, uint32_t addr, uint8_t value) { struct mapper_066_0 *mapper = (struct mapper_066_0 *)&state->map; @@ -22,7 +22,7 @@ static void mapper_066_0_prg_write(struct nes_state *state, uint32_t addr, uint8 } } -__attribute__((section(".mapper_066_0"), hot)) +__attribute__((section(".mapper_066_0"))) static uint8_t mapper_066_0_chr_read(struct nes_state *state, uint32_t addr) { struct mapper_066_0 *mapper = (struct mapper_066_0 *)&state->map; return mapper->chr_offset[addr]; -- cgit v1.2.3