From 11f0e690f8bbc7a3d7dcf5257027f7038fed8ec0 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 9 Mar 2015 21:17:41 -0700 Subject: [PATCH] GBA: Initialize gba.sync to null --- CHANGES | 1 + src/gba/gba.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 562b180f1..119309e02 100644 --- a/CHANGES +++ b/CHANGES @@ -49,6 +49,7 @@ Bugfixes: - Util: Fix sockets on Windows - Qt: Fix crash when loading a game after stopping GDB server - GBA BIOS: Fix BIOS decompression routines with invalid source addresses + - GBA: Initialize gba.sync to null Misc: - GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples - GBA Memory: Simplify memory API and use fixed bus width diff --git a/src/gba/gba.c b/src/gba/gba.c index 750f289b7..97b4668fe 100644 --- a/src/gba/gba.c +++ b/src/gba/gba.c @@ -47,6 +47,7 @@ static void GBAInit(struct ARMCore* cpu, struct ARMComponent* component) { struct GBA* gba = (struct GBA*) component; gba->cpu = cpu; gba->debugger = 0; + gba->sync = 0; GBAInterruptHandlerInit(&cpu->irqh); GBAMemoryInit(gba);