diff options
Diffstat (limited to 'mapper.h')
| -rw-r--r-- | mapper.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,9 +1,14 @@ +#include "mapper_0003.h" +#include "mapper_0007.h" +#include "mapper_000b.h" #include "mapper_0042.h" +#include "mapper_2002.h" +struct nes_state; struct mapper_entry { - int id; + uint64_t id; uint8_t (*prg_read)(struct nes_state *state, uint32_t addr); void (*prg_write)(struct nes_state *state, uint32_t addr, uint8_t value); uint8_t (*chr_read)(struct nes_state *state, uint32_t addr); @@ -15,6 +20,10 @@ struct mapper_entry { }; union mapper_data { + struct mapper_0003 m0003; + struct mapper_0007 m0007; + struct mapper_000b m000b; struct mapper_0042 m0042; + struct mapper_2002 m2002; }; |
