DS Video: Fix some uninitialized variables

This commit is contained in:
Vicki Pfau 2017-02-23 18:05:22 -08:00
parent 54a94ca40d
commit d3fe231758
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ static void DSVideoSoftwareRendererReset(struct DSVideoRenderer* renderer) {
struct DSVideoSoftwareRenderer* softwareRenderer = (struct DSVideoSoftwareRenderer*) renderer;
softwareRenderer->engA.d.reset(&softwareRenderer->engA.d);
softwareRenderer->engB.d.reset(&softwareRenderer->engB.d);
softwareRenderer->powcnt = 0;
softwareRenderer->dispcntA = 0;
softwareRenderer->dispcntB = 0;
}
static void DSVideoSoftwareRendererDeinit(struct DSVideoRenderer* renderer) {