GBA Memory: Fix Store8 to OBJ VRAM

This commit is contained in:
Jeffrey Pfau 2015-11-06 21:07:29 -08:00
parent 28651a1f64
commit 555a7404d6
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Bugfixes:
- 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

View File

@ -798,7 +798,7 @@ void GBAStore8(struct ARMCore* cpu, uint32_t address, int8_t value, int* cycleCo
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;