mirror of https://github.com/mgba-emu/mgba.git
GB Core: Fix uninitialized variable
This commit is contained in:
parent
13c882411a
commit
5f95e7e486
|
@ -45,6 +45,7 @@ static bool _GBCoreInit(struct mCore* core) {
|
|||
LR35902Init(cpu);
|
||||
|
||||
GBVideoSoftwareRendererCreate(&gbcore->renderer);
|
||||
gbcore->renderer.outputBuffer = NULL;
|
||||
|
||||
gbcore->keys = 0;
|
||||
gb->keySource = &gbcore->keys;
|
||||
|
|
Loading…
Reference in New Issue