diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-15 17:42:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-15 17:42:45 -0500 |
| commit | 6d77de96dae4763ef78fdea1918b582e5e181653 (patch) | |
| tree | 0c131de68a68c23f62a8a253b3cf69d3bfc91ee7 /src/core/hle/service/aoc/aoc_u.cpp | |
| parent | 04d2d2ef5fdd56baa0ecf60e59ea4e915262161d (diff) | |
| parent | ceda2d280e8a3030c1e23083c5cea9158387fe4c (diff) | |
Merge pull request #9796 from liamwhite/current
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/hle/service/aoc/aoc_u.cpp')
| -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 368ccd52f..7264f23f9 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -155,7 +155,7 @@ void AOC_U::CountAddOnContent(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 3}; rb.Push(ResultSuccess); - const auto current = system.GetCurrentProcessProgramID(); + const auto current = system.GetApplicationProcessProgramID(); const auto& disabled = Settings::values.disabled_addons[current]; if (std::find(disabled.begin(), disabled.end(), "DLC") != disabled.end()) { @@ -182,7 +182,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.GetCurrentProcessProgramID(); + const auto current = system.GetApplicationProcessProgramID(); std::vector<u32> out; const auto& disabled = Settings::values.disabled_addons[current]; @@ -228,7 +228,7 @@ void AOC_U::GetAddOnContentBaseId(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 4}; rb.Push(ResultSuccess); - const auto title_id = system.GetCurrentProcessProgramID(); + const auto title_id = system.GetApplicationProcessProgramID(); const FileSys::PatchManager pm{title_id, system.GetFileSystemController(), system.GetContentProvider()}; |
