all repos — mgba @ df8cddb289bece5bd4ed0db9355048ecd006d12c

mGBA Game Boy Advance Emulator

GBA Core: Fix busRead16
Jeffrey Pfau jeffrey@endrift.com
Wed, 04 May 2016 00:42:40 -0700
commit

df8cddb289bece5bd4ed0db9355048ecd006d12c

parent

525354e500b93545d16dde4d16b0ace3dd2a2d03

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

jump to
M src/gba/core.csrc/gba/core.c

@@ -301,7 +301,7 @@ }

static uint32_t _GBACoreBusRead16(struct mCore* core, uint32_t address) { struct ARMCore* cpu = core->cpu; - return cpu->memory.load8(cpu, address, 0); + return cpu->memory.load16(cpu, address, 0); }