fixed theme extdata corruption when installing shuffle themes after

scanning a qr code
This commit is contained in:
Helloman892
2017-09-16 17:23:35 +01:00
parent 4fb10029bb
commit f99f744000
3 changed files with 8 additions and 2 deletions

View File

@@ -152,6 +152,7 @@ static void parse_smdh(Theme_s *theme, ssize_t textureID, u16 *dir_name)
Result get_themes(Theme_s **themes_list, int *theme_count)
{
shuffle_theme_count = 0;
Result res = 0;
Handle dir_handle;
res = FSUSER_OpenDirectory(&dir_handle, ArchiveSD, fsMakePath(PATH_ASCII, THEMES_PATH));