all repos — mgba @ 5af50db66cbde07430fe5b98d26dc7fa0460bd5a

mGBA Game Boy Advance Emulator

GB Video: Initialize disable flags in proxy
Vicki Pfau vi@endrift.com
Wed, 21 Oct 2020 21:59:32 -0700
commit

5af50db66cbde07430fe5b98d26dc7fa0460bd5a

parent

1629eede4ef1cb4cf729da64927245c8f51f6cff

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/gb/extra/proxy.csrc/gb/extra/proxy.c

@@ -44,6 +44,10 @@ renderer->d.enableSGBBorder = GBVideoProxyRendererEnableSGBBorder;

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;