GB: Initialize sync

This commit is contained in:
Jeffrey Pfau 2016-02-18 22:13:37 -08:00
parent a219c328d1
commit 17264e2af9
1 changed files with 1 additions and 0 deletions

View File

@ -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);