GBA Video: Pass disabled layers through proxy
Vicki Pfau vi@endrift.com
Fri, 10 May 2019 12:26:39 -0700
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
src/gba/extra/proxy.c
→
src/gba/extra/proxy.c
@@ -182,6 +182,11 @@ logger->readData(logger, NULL, 0x1000, true);
} break; case DIRTY_SCANLINE: + proxyRenderer->backend->disableBG[0] = proxyRenderer->d.disableBG[0]; + proxyRenderer->backend->disableBG[1] = proxyRenderer->d.disableBG[1]; + proxyRenderer->backend->disableBG[2] = proxyRenderer->d.disableBG[2]; + proxyRenderer->backend->disableBG[3] = proxyRenderer->d.disableBG[3]; + proxyRenderer->backend->disableOBJ = proxyRenderer->d.disableOBJ; if (item->address < GBA_VIDEO_VERTICAL_PIXELS) { proxyRenderer->backend->drawScanline(proxyRenderer->backend, item->address); }