all repos — mgba @ 92849dee1a9704a34f75b6cf0de0bb0443b5dfc2

mGBA Game Boy Advance Emulator

SDL: Fix uninitialized member
Jeffrey Pfau jeffrey@endrift.com
Sun, 11 Oct 2015 20:39:49 -0700
commit

92849dee1a9704a34f75b6cf0de0bb0443b5dfc2

parent

ba41f68149e04d110a2f3107efe2e2111e9224d9

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

jump to
M src/platform/sdl/sdl-audio.csrc/platform/sdl/sdl-audio.c

@@ -42,6 +42,7 @@ GBALog(0, GBA_LOG_ERROR, "Could not open SDL sound system");

return false; } context->samples = context->obtainedSpec.samples; + context->gba = 0; if (threadContext) { context->thread = threadContext;