update remote.c to fix bgm preview there as well

This commit is contained in:
LiquidFenrir
2018-05-11 14:04:31 +02:00
parent d2b83659ea
commit c28b794349
2 changed files with 18 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
#include <time.h>
bool quit = false;
audio_s * audio;
audio_s * audio = NULL;
static bool homebrew = false;
static bool installed_themes = false;
@@ -136,7 +136,7 @@ void free_lists(void)
void exit_function(bool power_pressed)
{
if (audio)
if(audio)
{
audio->stop = true;
svcWaitSynchronization(audio->finished, U64_MAX);