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:
12
include/fs.h
12
include/fs.h
@@ -56,13 +56,13 @@ Result open_archives(void);
|
||||
Result close_archives(void);
|
||||
Result load_parental_controls(Parental_Restrictions_s *restrictions);
|
||||
|
||||
u32 file_to_buf(FS_Path path, FS_Archive archive, char** buf);
|
||||
u32 zip_memory_to_buf(char *file_name, void * zip_memory, size_t zip_size, char ** buf);
|
||||
u32 zip_file_to_buf(char *file_name, u16 *zip_path, char **buf);
|
||||
u32 decompress_lz_file(FS_Path file_name, FS_Archive archive, char **buf);
|
||||
u32 compress_lz_file_fast(FS_Path path, FS_Archive archive, char *in_buf, u32 size);
|
||||
u32 file_to_buf(FS_Path path, FS_Archive archive, char ** buf);
|
||||
u32 zip_memory_to_buf(const char * file_name, void * zip_memory, size_t zip_size, char ** buf);
|
||||
u32 zip_file_to_buf(const char * file_name, const u16 * zip_path, char ** buf);
|
||||
u32 decompress_lz_file(FS_Path file_name, FS_Archive archive, char ** buf);
|
||||
u32 compress_lz_file_fast(FS_Path path, FS_Archive archive, char * in_buf, u32 size);
|
||||
|
||||
Result buf_to_file(u32 size, FS_Path path, FS_Archive archive, char *buf);
|
||||
Result buf_to_file(u32 size, FS_Path path, FS_Archive archive, char * buf);
|
||||
void remake_file(FS_Path path, FS_Archive archive, u32 size);
|
||||
void save_zip_to_sd(char * filename, u32 size, char * buf, EntryMode mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user