diff options
Diffstat (limited to 'mappers/mapper_002_2.c')
| -rw-r--r-- | mappers/mapper_002_2.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |
