GB Core: Fix uninitialized variable

This commit is contained in:
Jeffrey Pfau 2016-05-29 12:33:40 -07:00
parent 13c882411a
commit 5f95e7e486
1 changed files with 1 additions and 0 deletions

View File

@ -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;