Performance Improvements
Pass theme list & its entries around by reference rather than copying them. Fix bug in async icon loading that caused icons to be loaded multiple times. Original PR by @LiquidFenrir
This commit is contained in:
@@ -64,17 +64,17 @@ typedef struct {
|
||||
u32 dlc_theme_content_index;
|
||||
u32 use_theme_cache;
|
||||
|
||||
u8 _padding1[0x338 - 8*sizeof(u32)];
|
||||
u8 _padding1[0x338 - 8 * sizeof(u32)];
|
||||
|
||||
u32 shuffle_body_sizes[MAX_SHUFFLE_THEMES];
|
||||
u32 shuffle_music_sizes[MAX_SHUFFLE_THEMES];
|
||||
} ThemeManage_bin_s;
|
||||
|
||||
Result theme_install(Entry_s theme);
|
||||
Result no_bgm_install(Entry_s theme);
|
||||
Result bgm_install(Entry_s theme);
|
||||
Result theme_install(Entry_s * theme);
|
||||
Result no_bgm_install(Entry_s * theme);
|
||||
Result bgm_install(Entry_s * theme);
|
||||
|
||||
Result shuffle_install(Entry_List_s themes);
|
||||
Result shuffle_install(const Entry_List_s * themes);
|
||||
|
||||
Result dump_current_theme(void);
|
||||
Result dump_all_themes(void);
|
||||
|
||||
Reference in New Issue
Block a user