From 94e4980a5581b4a895227e012138c4b42c74ab68 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Thu, 18 Feb 2016 21:50:42 -0800 Subject: [PATCH] GB: Initialize stream --- src/gb/gb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gb/gb.c b/src/gb/gb.c index 984e91636..f23bddfe2 100644 --- a/src/gb/gb.c +++ b/src/gb/gb.c @@ -61,6 +61,8 @@ static void GBInit(void* cpu, struct mCPUComponent* component) { gb->pristineRomSize = 0; gb->yankedRomSize = 0; + gb->stream = NULL; + gb->eiPending = false; gb->doubleSpeed = 0; }