diff options
Diffstat (limited to 'mknes_mapper.h')
| -rw-r--r-- | mknes_mapper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mknes_mapper.h b/mknes_mapper.h index 36d711a..923d7b8 100644 --- a/mknes_mapper.h +++ b/mknes_mapper.h @@ -6,6 +6,7 @@ #include "mappers/mapper_003_1.h" #include "mappers/mapper_003_2.h" #include "mappers/mapper_004_0.h" +#include "mappers/mapper_005_0.h" #include "mappers/mapper_007_2.h" #include "mappers/mapper_011_0.h" #include "mappers/mapper_066_0.h" @@ -21,7 +22,7 @@ struct mapper_functions { void (*chr_write)(struct nes_state *state, uint32_t addr, uint8_t value); uint8_t (*ciram_read)(struct nes_state *state, uint32_t addr); void (*ciram_write)(struct nes_state *state, uint32_t addr, uint8_t value); - void (*tick)(struct nes_state *state); + void (*tick)(struct nes_state *state, uint16_t scanline, uint16_t dot); } __attribute__((aligned(64))); union mapper_data { @@ -32,6 +33,7 @@ union mapper_data { struct mapper_003_1 m003_1; struct mapper_003_2 m003_2; struct mapper_004_0 m004_0; + struct mapper_005_0 m005_0; struct mapper_007_2 m007_2; struct mapper_011_0 m011_0; struct mapper_066_0 m066_0; |
