Skip to content

Commit

Permalink
Switching theme unloads unused sounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTopper committed Nov 21, 2015
1 parent 7bded62 commit c669d8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified boot1.3dsx
Binary file not shown.
1 change: 1 addition & 0 deletions source/sound.c
Expand Up @@ -66,6 +66,7 @@ void audioFree(themeSound * aThemeSound) {
memset(aThemeSound->sndbuffer, 0, aThemeSound->sndsize);
GSPGPU_FlushDataCache(aThemeSound->sndbuffer, aThemeSound->sndsize);
linearFree(aThemeSound->sndbuffer);
aThemeSound->loaded = false;
}
}

Expand Down

0 comments on commit c669d8d

Please sign in to comment.