Theme install now works, added fast reboot code

This commit is contained in:
2017-08-26 16:00:10 -04:00
parent 6b61ae9e5f
commit ae42b9648c
4 changed files with 18 additions and 5 deletions

View File

@@ -45,8 +45,6 @@ Result single_install(theme theme_to_install)
return MAKERESULT(RL_PERMANENT, RS_CANCELED, RM_APPLICATION, RD_NOT_FOUND);
}
remake_file("/BodyCache.bin", ArchiveThemeExt, 0x150000);
size = buf_to_file(body_size, "/BodyCache.bin", ArchiveThemeExt, body); // Write body data to file
free(body);
@@ -72,8 +70,6 @@ Result single_install(theme theme_to_install)
return MAKERESULT(RL_PERMANENT, RS_CANCELED, RM_APPLICATION, RD_TOO_LARGE);
}
remake_file("/BgmCache.bin", ArchiveThemeExt, 3371008);
size = buf_to_file(music_size, "/BgmCache.bin", ArchiveThemeExt, music);
free(music);