Files
mice-3ds/source/error.h
Mahyar Koshkouei 984192eebe Improve error handling
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-02-14 17:00:15 +00:00

16 lines
282 B
C

#include <3ds.h>
/* Errors that can't be explained with errno */
#define NDSP_INIT_FAIL 1000
#define DECODER_INIT_FAIL 1001
#define FILE_NOT_SUPPORTED 1002
struct errInfo_t
{
volatile int* error;
Handle* failEvent;
volatile char* errstr;
};
char* ctrmus_strerror(int err);