Combination of quality of life improvements, bugfixes and splash support: * unzip_file now works with any file, not just a theme * Made linked list nodes generic so they work for both splashes and themes * Fixed bug in previous commit with deleting the zip file once it was unzipped * All zips in /Splashes/ are now extracted, as with /Themes/ * Splashes are all added to the linked list properly * Splashes can be installed given a path, but only works on Luma. Undecided as to whether or not I'm going to change this. TODO: * Automatically change the luma configuration to enable splash screens * MAYBE add support for other CFWs (if there's an interest). Maybe set a folder to extract splashes to in some kind of user settings?
11 lines
287 B
C
11 lines
287 B
C
#pragma once
|
|
|
|
void wtoa(char*, u16*);
|
|
ssize_t atow(u16*, char*);
|
|
ssize_t trim_extension(u16*, u16*);
|
|
bool strip_unicode(u16*, u16*, ssize_t);
|
|
u16 *strucpy(u16*, const u16*);
|
|
ssize_t strulen(const u16*);
|
|
u16 *strucat(u16*, const u16*);
|
|
u16 *struacat(u16*, const char*);
|
|
void printu(u16*); |