This commit is contained in:
2017-08-02 08:07:58 -04:00
parent de719f9f01
commit f83ea1f6c4
5 changed files with 179 additions and 0 deletions

13
include/fs.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef FS_H
#define FS_H
#include <3ds.h>
FS_Archive ArchiveSD;
FS_Archive ArchiveHomeExt;
FS_Archive ArchiveThemeExt;
Result open_archives(void);
int get_number_entries(char*);
#endif

16
include/themes.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef THEMES_H
#define THEMES_H
typedef struct {
u16 name[0x40];
u16 desc[0x80];
u16 author[0x40];
char icon_data[0x1200];
u16 path[262];
ssize_t path_len;
bool is_zip;
} theme;
Result single_install(theme*);
#endif