all repos — mgba @ 78b612595207cb07b280402667fafcf47a6dece6

mGBA Game Boy Advance Emulator

DS Memory: Fix uninitalized value
Vicki Pfau vi@endrift.com
Mon, 20 Mar 2017 13:54:18 -0700
commit

78b612595207cb07b280402667fafcf47a6dece6

parent

3ccd29245cc01e76790519636a8aa9ab50ad05fd

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

jump to
M src/ds/memory.csrc/ds/memory.c

@@ -1294,6 +1294,7 @@ default:

LDM_LOOP(if ((address & ~(DS9_SIZE_DTCM - 1)) == memory->dtcmBase) { LOAD_32(value, address & (DS9_SIZE_DTCM - 1), memory->dtcm); } else { + value = 0; mLOG(DS_MEM, STUB, "Unimplemented DS9 LDM: %08X", address); }); break;