Citro2d switch (#175)
* Switch from pp2d to citro2d * Fix various bugs by updating libarchive * Begin work on translation infrastructure * Switch to libpng for various improvements * Fixed race condition in icon scrolling * Use spritesheets to load sprites marginally faster and use less memory * Various Readme fixes * Huge improvements to QR reader speed and screen tearing * Don't try to preview themes/splashes when there are none * Prevent playing audio when ndspInit() fails * Don't wait for audio to load before displaying preview * Fix bug when shuffle themes didn't have BGM * Fix bug caused by files not being zeroed out when created
This commit is contained in:
@@ -81,8 +81,7 @@ typedef struct {
|
||||
Entry_s * entries;
|
||||
int entries_count;
|
||||
|
||||
ssize_t texture_id_offset;
|
||||
ssize_t * icons_ids;
|
||||
C2D_Image ** icons;
|
||||
|
||||
int previous_scroll;
|
||||
int scroll;
|
||||
@@ -110,13 +109,18 @@ typedef struct {
|
||||
volatile bool run_thread;
|
||||
} Thread_Arg_s;
|
||||
|
||||
C2D_Image * loadTextureIcon(Icon_s *icon);
|
||||
void parse_smdh(Icon_s *icon, Entry_s * entry, const u16 * fallback_name);
|
||||
|
||||
void sort_by_name(Entry_List_s * list);
|
||||
void sort_by_author(Entry_List_s * list);
|
||||
void sort_by_filename(Entry_List_s * list);
|
||||
|
||||
void delete_entry(Entry_s * entry, bool is_file);
|
||||
Result load_entries(const char * loading_path, Entry_List_s * list);
|
||||
bool load_preview(Entry_List_s list, int * preview_offset);
|
||||
bool load_preview_from_buffer(void * buf, u32 size, C2D_Image * preview_image, int * preview_offset);
|
||||
bool load_preview(Entry_List_s list, C2D_Image * preview_image, int * preview_offset);
|
||||
void free_preview(C2D_Image preview_image);
|
||||
Result load_audio(Entry_s, audio_s *);
|
||||
void load_icons_first(Entry_List_s * current_list, bool silent);
|
||||
void handle_scrolling(Entry_List_s * list);
|
||||
|
||||
Reference in New Issue
Block a user