diff options
Diffstat (limited to 'mappers/mapper_007_2.c')
| -rw-r--r-- | mappers/mapper_007_2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mappers/mapper_007_2.c b/mappers/mapper_007_2.c index 9f5a3dc..3987956 100644 --- a/mappers/mapper_007_2.c +++ b/mappers/mapper_007_2.c @@ -42,7 +42,7 @@ static void mapper_007_2_ciram_write(struct nes_state *state, uint32_t addr, uin static void mapper_007_2_init(struct nes_state *state) { struct mapper_007_2 *mapper = &state->mapper_data.m007_2; mapper->prg_rom = state->prg_rom; - mapper->ciram = 0; + mapper->ciram = state->ciram; // << THIS WAS THE BUG, set ciram = 0, zero understanding to how this worked for 6+ months. state->mapper_function.prg_rom_read = mapper_007_2_prg_rom_read; state->mapper_function.prg_rom_write = mapper_007_2_prg_rom_write; |
