mirror of https://github.com/mgba-emu/mgba.git
GB: Initialize sync
This commit is contained in:
parent
a219c328d1
commit
17264e2af9
|
@ -42,6 +42,7 @@ void GBCreate(struct GB* gb) {
|
||||||
static void GBInit(void* cpu, struct mCPUComponent* component) {
|
static void GBInit(void* cpu, struct mCPUComponent* component) {
|
||||||
struct GB* gb = (struct GB*) component;
|
struct GB* gb = (struct GB*) component;
|
||||||
gb->cpu = cpu;
|
gb->cpu = cpu;
|
||||||
|
gb->sync = NULL;
|
||||||
|
|
||||||
GBInterruptHandlerInit(&gb->cpu->irqh);
|
GBInterruptHandlerInit(&gb->cpu->irqh);
|
||||||
GBMemoryInit(gb);
|
GBMemoryInit(gb);
|
||||||
|
|
Loading…
Reference in New Issue