SDL: Fix uninitialized member

This commit is contained in:
Jeffrey Pfau 2015-10-11 20:39:49 -07:00
parent ba41f68149
commit 92849dee1a
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ bool GBASDLInitAudio(struct GBASDLAudio* context, struct GBAThread* threadContex
return false;
}
context->samples = context->obtainedSpec.samples;
context->gba = 0;
if (threadContext) {
context->thread = threadContext;