Added neimod's ctrtool

Will be base code for improvments
This commit is contained in:
3DSGuy
2014-04-14 09:39:21 +08:00
commit 87681b8bc5
63 changed files with 22243 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef _FILEPATH_H_
#define _FILEPATH_H_
#include "types.h"
#include "utils.h"
typedef struct
{
char pathname[MAX_PATH];
int valid;
} filepath;
void filepath_init(filepath* fpath);
void filepath_copy(filepath* fpath, filepath* copy);
void filepath_append_utf16(filepath* fpath, const u8* name);
void filepath_append(filepath* fpath, const char* format, ...);
void filepath_set(filepath* fpath, const char* path);
const char* filepath_get(filepath* fpath);
#endif // _FILEPATH_H_