diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-03 19:15:51 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-04 21:57:16 +0100 |
commit | 64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e (patch) | |
tree | 2d5901f0a26f16175cfd629a2a4503c368e4b88c /src/core/hle/service/acc/acc.cpp | |
parent | Merge pull request #7282 from ameerj/core-includes (diff) | |
download | yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.gz yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.bz2 yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.lz yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.xz yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.zst yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index 4af2c3a8d..4d4fa5ee7 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -761,7 +761,7 @@ ResultCode Module::Interface::InitializeApplicationInfoBase() { // our own process const auto& current_process = system.Kernel().CurrentProcess(); const auto launch_property = - system.GetARPManager().GetLaunchProperty(current_process->GetTitleID()); + system.GetARPManager().GetLaunchProperty(current_process->GetProgramID()); if (launch_property.Failed()) { LOG_ERROR(Service_ACC, "Failed to get launch property"); @@ -805,7 +805,7 @@ void Module::Interface::IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx bool is_locked = false; if (res != Loader::ResultStatus::Success) { - const FileSys::PatchManager pm{system.CurrentProcess()->GetTitleID(), + const FileSys::PatchManager pm{system.CurrentProcess()->GetProgramID(), system.GetFileSystemController(), system.GetContentProvider()}; const auto nacp_unique = pm.GetControlMetadata().first; |