GB Video: Initialize LCDC in renderer

This commit is contained in:
Jeffrey Pfau 2016-12-22 18:55:46 -08:00
parent 974c41e8cf
commit 55505f79a9
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ Bugfixes:
- 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

View File

@ -65,6 +65,7 @@ void GBVideoSoftwareRendererCreate(struct GBVideoSoftwareRenderer* renderer) {
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;