summaryrefslogtreecommitdiff
path: root/mappers/mapper_066_0.c
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-05-24 15:45:54 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-05-24 15:45:54 +0200
commita8e0c141b0184d629504b9f0ee8dbc4fefb90934 (patch)
treecff0f7e64ce58dc8f1e4ff4501743d9b94449c94 /mappers/mapper_066_0.c
parente28ad1546509de31b706f0fd300a906e5bc55199 (diff)
3011fps
Diffstat (limited to 'mappers/mapper_066_0.c')
-rw-r--r--mappers/mapper_066_0.c6
1 files changed, 3 insertions, 3 deletions
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];