From 5af50db66cbde07430fe5b98d26dc7fa0460bd5a Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 21 Oct 2020 21:59:32 -0700 Subject: [PATCH] GB Video: Initialize disable flags in proxy --- src/gb/extra/proxy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gb/extra/proxy.c b/src/gb/extra/proxy.c index 0170d4962..2078afcdf 100644 --- a/src/gb/extra/proxy.c +++ b/src/gb/extra/proxy.c @@ -44,6 +44,10 @@ void GBVideoProxyRendererCreate(struct GBVideoProxyRenderer* renderer, struct GB renderer->d.getPixels = GBVideoProxyRendererGetPixels; renderer->d.putPixels = GBVideoProxyRendererPutPixels; + renderer->d.disableBG = false; + renderer->d.disableWIN = false; + renderer->d.disableOBJ = false; + renderer->logger->context = renderer; renderer->logger->parsePacket = _parsePacket; renderer->logger->vramBlock = _vramBlock;