GB Video: Initialize LCDC in renderer
Jeffrey Pfau jeffrey@endrift.com
Thu, 22 Dec 2016 18:55:46 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -39,6 +39,7 @@ - GB: Fix crash when masking savedata
- GB Audio: Fix serialization of channel 3 and NR52 properties - GB: Properly initialize sramRealVf variable - Qt: Fix Apply button for key and controller configurations + - GB Video: Initialize LCDC in renderer Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M
src/gb/renderers/software.c
→
src/gb/renderers/software.c
@@ -65,6 +65,7 @@ }
static void GBVideoSoftwareRendererInit(struct GBVideoRenderer* renderer, enum GBModel model) { struct GBVideoSoftwareRenderer* softwareRenderer = (struct GBVideoSoftwareRenderer*) renderer; + softwareRenderer->lcdc = 0; softwareRenderer->scy = 0; softwareRenderer->scx = 0; softwareRenderer->wy = 0;