diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-05-24 15:45:54 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-05-24 15:45:54 +0200 |
| commit | a8e0c141b0184d629504b9f0ee8dbc4fefb90934 (patch) | |
| tree | cff0f7e64ce58dc8f1e4ff4501743d9b94449c94 /mappers/mapper_000_0.c | |
| parent | e28ad1546509de31b706f0fd300a906e5bc55199 (diff) | |
3011fps
Diffstat (limited to 'mappers/mapper_000_0.c')
| -rw-r--r-- | mappers/mapper_000_0.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } |
