* srvPublishToSubscriber
Pressing Start from the app now sends the user to the Power Off screen.
* *hax check
As per Sono, checks whether the current environment is *hax. If it isn't, it goes to the home screen; otherwise, it restarts the console.
* Bugfixes
This may work?
* Revert "Bugfixes"
This reverts commit 7c382d719ac9f50af17d117f177c8bede75941f1.
* make use of the return value for safety
* get rid of warnings
(sizeof(wchar_t) is the same as sizeof(u32), so no problem there)
* dynamic preview loading
fix crash when too many themes have previews available
* fix icon filename
* update pp2d to fix preview problem
* several improvements:
- rely on a single header for simple/common headers
- cleaned up main by putting the interface drawing function in its own file
- load previews from .zip themes (may cause some loading times when launching
- only need 1 shuffle image thanks to pp2d's blending abilities
* not needed anymore
* fix preview color and position
* forgot
* add proper icon loading
thanks steveice10 for bannertool which this was pretty much taken from
* only add proper themes to the list
* add slightly more space between the icon and the name
* not monospace, the little movement every blink is annoying
* fix typo
* Broke the "prepare" methods up into smaller methods
* Removed the usage of linked lists and replaced them with arrays. Given
that themes won't be added/removed throughout the execution of the
program, we don't need to be able to dynamically add or remove elements
to the list. In addition, once you got to ~50 themes, it took about .2
seconds to iterate through the entire list, which, while it may not
sound like much, is a huge time sink when you're going through a list.
Being able to randomly access any element in the list at the same speed
is hugely beneficial. The downside to this is we need to keep track of
the number of themes/splashes at all times, and, for splashes, have to
do some weird type magic in order to properly iterate over it. However,
these negatives are outweighed by the speed improvements.
This commit adds support for theme shuffles.
To use, pass the first node for the theme into the install_shuffle method and it'll automatically install based on what's selected.
Note that right now, *all themes in /Themes/ are selected for debug purposes.* This means if you have more than 10 themes in /Themes/ it will not work right now. This will be changed once an interface for selecting themes is done.