Skip to content

Commit

Permalink
Fixed mapper 547 (#363).
Browse files Browse the repository at this point in the history
  • Loading branch information
punesemu committed Jan 12, 2024
1 parent aa4085b commit e029e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/mappers/mapper_547.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ INLINE static void wram_fix_547(void) {
wram_swap_547(0x7000, m547.reg[1]);
}
INLINE static void wram_swap_547(WORD address, WORD value) {
memmap_auto_4k(0, MMCPU(address), (value & 0x01) | ((value & 0x80) >> 2));
memmap_auto_4k(0, MMCPU(address), ((value & 0x08) >> 2) | (value & 0x01));
}
INLINE static void mirroring_fix_547(void) {
if (m547.reg[10] & 0x02) {
Expand Down

0 comments on commit e029e4c

Please sign in to comment.