Change splashes to support SMDH and zip files

This commit is contained in:
2017-09-07 10:08:52 -04:00
parent 3e2c5994ca
commit 62f4356a17
6 changed files with 149 additions and 45 deletions

View File

@@ -34,8 +34,9 @@
void init_screens(void);
void exit_screens(void);
void draw_base_interface(void);
void draw_themext_error(void);
void draw_qr(void);
void draw_base_interface(void);
void draw_theme_install(int install_type);
void draw_theme_interface(Theme_s * themes_list, int theme_count, int selected_theme, bool preview_mode, int shuffle_theme_count);
void draw_splash_install(int install_type);

View File

@@ -30,9 +30,15 @@
#include "common.h"
typedef struct{
u16 name[0x106];
u16 top_path[0x106];
u16 bottom_path[0x106];
u16 name[0x40];
u16 desc[0x80];
u16 author[0x40];
u32 placeholder_color;
ssize_t icon_id;
u16 path[0x106];
bool is_zip;
} Splash_s;
Result get_splashes(Splash_s** splashes_list, int *splash_count);