From 17264e2af984d2034e94c36a6bbf0d3a818001ed Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Thu, 18 Feb 2016 22:13:37 -0800 Subject: [PATCH] GB: Initialize sync --- src/gb/gb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gb/gb.c b/src/gb/gb.c index f23bddfe2..8d2670208 100644 --- a/src/gb/gb.c +++ b/src/gb/gb.c @@ -42,6 +42,7 @@ void GBCreate(struct GB* gb) { static void GBInit(void* cpu, struct mCPUComponent* component) { struct GB* gb = (struct GB*) component; gb->cpu = cpu; + gb->sync = NULL; GBInterruptHandlerInit(&gb->cpu->irqh); GBMemoryInit(gb);