all repos — mgba @ f136d8165a9ece1ff7ccc23541019569ad9c36be

mGBA Game Boy Advance Emulator

Was accidentally chopping off a bit in LZ77UnCompVram
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 01:12:48 -0700
commit

f136d8165a9ece1ff7ccc23541019569ad9c36be

parent

060ae364b5558885fdfc9514fd3641d1c4d56f53

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

jump to
M src/gba/gba-bios.csrc/gba/gba-bios.c

@@ -91,7 +91,7 @@ case 0x11:

_unLz77(&gba->memory, gba->cpu.gprs[0], &((uint8_t*) gba->memory.wram)[(gba->cpu.gprs[1] & (SIZE_WORKING_RAM - 1))]); break; case 0x12: - _unLz77(&gba->memory, gba->cpu.gprs[0], &((uint8_t*) gba->video.vram)[(gba->cpu.gprs[1] & (SIZE_VRAM - 1))]); + _unLz77(&gba->memory, gba->cpu.gprs[0], &((uint8_t*) gba->video.vram)[(gba->cpu.gprs[1] & 0x0001FFFF)]); break; case 0x1F: _MidiKey2Freq(gba);