diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-21 01:39:26 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-21 01:39:26 +0100 |
commit | 40cd0bb97b3d6db6eba0e18fae6560c8e1b69794 (patch) | |
tree | a5d2be22d64810af335d65e8e2c5bdea2350fa35 /src/core/hle | |
parent | Merge pull request #7294 from vonchenplus/fix_image_update_error_when_width_too_small (diff) | |
download | yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.tar yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.tar.gz yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.tar.bz2 yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.tar.lz yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.tar.xz yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.tar.zst yuzu-40cd0bb97b3d6db6eba0e18fae6560c8e1b69794.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/pm/pm.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cpp index 88fc5b5cc..969300795 100644 --- a/src/core/hle/service/pm/pm.cpp +++ b/src/core/hle/service/pm/pm.cpp @@ -95,13 +95,13 @@ public: private: void GetProcessId(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; - const auto title_id = rp.PopRaw<u64>(); + const auto program_id = rp.PopRaw<u64>(); - LOG_DEBUG(Service_PM, "called, title_id={:016X}", title_id); + LOG_DEBUG(Service_PM, "called, program_id={:016X}", program_id); const auto process = - SearchProcessList(kernel.GetProcessList(), [title_id](const auto& proc) { - return proc->GetProgramID() == title_id; + SearchProcessList(kernel.GetProcessList(), [program_id](const auto& proc) { + return proc->GetProgramID() == program_id; }); if (!process.has_value()) { @@ -128,13 +128,13 @@ public: explicit Info(Core::System& system_, const std::vector<Kernel::KProcess*>& process_list_) : ServiceFramework{system_, "pm:info"}, process_list{process_list_} { static const FunctionInfo functions[] = { - {0, &Info::GetTitleId, "GetTitleId"}, + {0, &Info::GetProgramId, "GetProgramId"}, }; RegisterHandlers(functions); } private: - void GetTitleId(Kernel::HLERequestContext& ctx) { + void GetProgramId(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; const auto process_id = rp.PopRaw<u64>(); |