all repos — mgba @ 5f95e7e486746572f2fd61cbc75667b7adceca7e

mGBA Game Boy Advance Emulator

GB Core: Fix uninitialized variable
Jeffrey Pfau jeffrey@endrift.com
Sun, 29 May 2016 12:33:40 -0700
commit

5f95e7e486746572f2fd61cbc75667b7adceca7e

parent

13c882411a03ce2adbd1492f7f4fef877b526c7f

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/core.csrc/gb/core.c

@@ -45,6 +45,7 @@ LR35902SetComponents(cpu, &gb->d, CPU_COMPONENT_MAX, gbcore->components);

LR35902Init(cpu); GBVideoSoftwareRendererCreate(&gbcore->renderer); + gbcore->renderer.outputBuffer = NULL; gbcore->keys = 0; gb->keySource = &gbcore->keys;