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_002_2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mappers/mapper_002_2.c') diff --git a/mappers/mapper_002_2.c b/mappers/mapper_002_2.c index b88c95b..4dbea85 100644 --- a/mappers/mapper_002_2.c +++ b/mappers/mapper_002_2.c @@ -1,6 +1,6 @@ -__attribute__((section(".mapper_002_2"), hot)) +__attribute__((section(".mapper_002_2"))) static uint8_t mapper_002_2_prg_read(struct nes_state *state, uint32_t addr) { struct mapper_002_2 *mapper = (struct mapper_002_2 *)&state->map; @@ -13,7 +13,7 @@ static uint8_t mapper_002_2_prg_read(struct nes_state *state, uint32_t addr) { return 0; } -__attribute__((section(".mapper_002_2"), hot)) +__attribute__((section(".mapper_002_2"))) static void mapper_002_2_prg_write(struct nes_state *state, uint32_t addr, uint8_t value) { struct mapper_002_2 *mapper = (struct mapper_002_2 *)&state->map; @@ -22,12 +22,12 @@ static void mapper_002_2_prg_write(struct nes_state *state, uint32_t addr, uint8 } } -__attribute__((section(".mapper_002_2"), hot)) +__attribute__((section(".mapper_002_2"))) static uint8_t mapper_002_2_chr_read(struct nes_state *state, uint32_t addr) { return state->chr_ram[addr]; } -__attribute__((section(".mapper_002_2"), hot)) +__attribute__((section(".mapper_002_2"))) static void mapper_002_2_chr_write(struct nes_state *state, uint32_t addr, uint8_t value) { state->chr_ram[addr] = value; } -- cgit v1.2.3