Initialize memory->eventDiff; fixes a valgrind warning
Jeffrey Pfau jeffrey@endrift.com
Fri, 31 Jan 2014 23:24:38 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-memory.c
→
src/gba/gba-memory.c
@@ -47,6 +47,7 @@ memory->dma[i].nextEvent = INT_MAX;
} memory->activeDMA = -1; memory->nextDMA = INT_MAX; + memory->eventDiff = 0; if (!memory->wram || !memory->iwram) { GBAMemoryDeinit(memory);