boot2: clean up pre-0.19.0 ams contents on upgrade

This commit is contained in:
Michael Scire authored and SciresM committed 2021-03-21 13:16:30 -07:00
1 parent 79e4c82d7e
commit c8404e8452
5 files changed
+127 -25

No files matched your search

@@ -123,7 +123,7 @@ namespace ams::fs {
/* Print a path to the program's package. */
fssrv::sf::Path sf_path;
R_TRY(FspPathPrintf(std::addressof(sf_path), "/contents/%016lX/exefs.nsp", program_id.value));
R_TRY(FspPathPrintf(std::addressof(sf_path), "/atmosphere/contents/%016lX/exefs.nsp", program_id.value));
/* Open the package within stratosphere.romfs. */
R_TRY(romfs_fs.OpenFile(std::addressof(package_file), sf_path.str, fs::OpenMode_Read));