mirror of https://github.com/mgba-emu/mgba.git
GB Video: Initialize LCDC in renderer
This commit is contained in:
parent
974c41e8cf
commit
55505f79a9
1
CHANGES
1
CHANGES
|
@ -39,6 +39,7 @@ Bugfixes:
|
||||||
- GB Audio: Fix serialization of channel 3 and NR52 properties
|
- GB Audio: Fix serialization of channel 3 and NR52 properties
|
||||||
- GB: Properly initialize sramRealVf variable
|
- GB: Properly initialize sramRealVf variable
|
||||||
- Qt: Fix Apply button for key and controller configurations
|
- Qt: Fix Apply button for key and controller configurations
|
||||||
|
- GB Video: Initialize LCDC in renderer
|
||||||
Misc:
|
Misc:
|
||||||
- SDL: Remove scancode key input
|
- SDL: Remove scancode key input
|
||||||
- GBA Video: Clean up unused timers
|
- GBA Video: Clean up unused timers
|
||||||
|
|
|
@ -65,6 +65,7 @@ void GBVideoSoftwareRendererCreate(struct GBVideoSoftwareRenderer* renderer) {
|
||||||
|
|
||||||
static void GBVideoSoftwareRendererInit(struct GBVideoRenderer* renderer, enum GBModel model) {
|
static void GBVideoSoftwareRendererInit(struct GBVideoRenderer* renderer, enum GBModel model) {
|
||||||
struct GBVideoSoftwareRenderer* softwareRenderer = (struct GBVideoSoftwareRenderer*) renderer;
|
struct GBVideoSoftwareRenderer* softwareRenderer = (struct GBVideoSoftwareRenderer*) renderer;
|
||||||
|
softwareRenderer->lcdc = 0;
|
||||||
softwareRenderer->scy = 0;
|
softwareRenderer->scy = 0;
|
||||||
softwareRenderer->scx = 0;
|
softwareRenderer->scx = 0;
|
||||||
softwareRenderer->wy = 0;
|
softwareRenderer->wy = 0;
|
||||||
|
|
Loading…
Reference in New Issue