all repos — mgba @ 555a7404d6459e2dc0370eb79485ed1a696d50db

mGBA Game Boy Advance Emulator

GBA Memory: Fix Store8 to OBJ VRAM
Jeffrey Pfau jeffrey@endrift.com
Fri, 06 Nov 2015 21:07:29 -0800
commit

555a7404d6459e2dc0370eb79485ed1a696d50db

parent

28651a1f645ea7df08dfdb397506f8e6d37b50be

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -10,6 +10,7 @@ - Qt: Fix a crash in the memory viewer

- Libretro: Fix problems with rumble not turning off - GBA BIOS: Fix CpuSet on 0x01XXXXXX addresses - GBA Memory: Fix DMA behavior for SRAM accesses + - GBA Memory: Fix Store8 to OBJ VRAM Misc: - GBA Audio: Implement missing flags on SOUNDCNT_X register
M src/gba/memory.csrc/gba/memory.c

@@ -798,7 +798,7 @@ case REGION_PALETTE_RAM:

GBALog(gba, GBA_LOG_STUB, "Unimplemented memory Store8: 0x%08X", address); break; case REGION_VRAM: - if (address >= 0x06018000) { + if ((address & 0x0001FFFF) >= 0x00010000) { // TODO: check BG mode GBALog(gba, GBA_LOG_GAME_ERROR, "Cannot Store8 to OBJ: 0x%08X", address); break;