1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 22:02:15 +00:00

ncm: fix exfat system updates

This commit is contained in:
Adubbz 2020-06-20 01:09:38 +10:00 committed by SciresM
parent 3295132946
commit 9003ad6e49

View file

@ -58,7 +58,7 @@ namespace ams::ncm {
R_TRY(this->data.Initialize(context_path)); R_TRY(this->data.Initialize(context_path));
/* Initialize PackageInstallTaskBase. */ /* Initialize PackageInstallTaskBase. */
u32 config = requires_exfat_driver ? InstallConfig_SystemUpdate : InstallConfig_SystemUpdate | InstallConfig_RequiresExFatDriver; u32 config = !requires_exfat_driver ? InstallConfig_SystemUpdate : InstallConfig_SystemUpdate | InstallConfig_RequiresExFatDriver;
R_TRY(PackageInstallTaskBase::Initialize(package_root, buffer, buffer_size, StorageId::BuiltInSystem, std::addressof(this->data), config)); R_TRY(PackageInstallTaskBase::Initialize(package_root, buffer, buffer_size, StorageId::BuiltInSystem, std::addressof(this->data), config));
/* Cancel guards. */ /* Cancel guards. */