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/aoc | |
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 'src/core/hle/service/aoc')
-rw-r--r-- | src/core/hle/service/aoc/aoc_u.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp index 9565f76d4..cbf403cfe 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -152,7 +152,7 @@ void AOC_U::CountAddOnContent(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 3}; rb.Push(ResultSuccess); - const auto current = system.CurrentProcess()->GetTitleID(); + const auto current = system.CurrentProcess()->GetProgramID(); const auto& disabled = Settings::values.disabled_addons[current]; if (std::find(disabled.begin(), disabled.end(), "DLC") != disabled.end()) { @@ -179,7 +179,7 @@ void AOC_U::ListAddOnContent(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_AOC, "called with offset={}, count={}, process_id={}", offset, count, process_id); - const auto current = system.CurrentProcess()->GetTitleID(); + const auto current = system.CurrentProcess()->GetProgramID(); std::vector<u32> out; const auto& disabled = Settings::values.disabled_addons[current]; @@ -225,7 +225,7 @@ void AOC_U::GetAddOnContentBaseId(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 4}; rb.Push(ResultSuccess); - const auto title_id = system.CurrentProcess()->GetTitleID(); + const auto title_id = system.CurrentProcess()->GetProgramID(); const FileSys::PatchManager pm{title_id, system.GetFileSystemController(), system.GetContentProvider()}; |