Fix directory flashing

Fixed an issue whereby the console would flash when browsing files.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-02-19 20:07:27 +00:00
parent ff54a37930
commit 057a13f7a2
3 changed files with 171 additions and 41 deletions

View File

@@ -7,6 +7,8 @@
* LICENSE file.
*/
#include <3ds.h>
#ifndef ctrmus_main_h
#define ctrmus_main_h
@@ -22,6 +24,17 @@ struct watchdogInfo
struct errInfo_t* errInfo;
};
struct dirList_t
{
char** files;
int fileNum;
char** directories;
int dirNum;
char* currentDir;
};
/**
* Allows the playback thread to return any error messages that it may
* encounter.