ams: prepare for 0.10.3
This commit is contained in:
@@ -154,16 +154,6 @@ namespace ams::mitm::fs {
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: Remove this in Atmosphere 0.10.2. */
|
||||
Result RenameProgramDirectoryForCompatibility(const char *dir_name) {
|
||||
R_TRY(EnsureSdInitialized());
|
||||
char titles_fixed_path[ams::fs::EntryNameLengthMax + 1];
|
||||
char contents_fixed_path[ams::fs::EntryNameLengthMax + 1];
|
||||
FormatAtmosphereSdPath(titles_fixed_path, sizeof(titles_fixed_path), "titles", dir_name);
|
||||
FormatAtmosphereSdPath(contents_fixed_path, sizeof(contents_fixed_path), "contents", dir_name);
|
||||
return fsFsRenameDirectory(&g_sd_filesystem, titles_fixed_path, contents_fixed_path);
|
||||
}
|
||||
|
||||
bool HasSdRomfsContent(ncm::ProgramId program_id) {
|
||||
/* Check if romfs.bin is present. */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user