summaryrefslogtreecommitdiff
path: root/src/core/hle/service/glue
diff options
context:
space:
mode:
authorGravatar Liam2023-03-07 16:45:13 -0500
committerGravatar Liam2023-03-12 22:09:27 -0400
commit9863db9db45339d5cf8f685b316e93660da71b0b (patch)
tree32258e70294d126857d41f2182c55e4b3e580fa5 /src/core/hle/service/glue
parentkernel: convert KThread to new style (diff)
downloadyuzu-9863db9db45339d5cf8f685b316e93660da71b0b.tar.gz
yuzu-9863db9db45339d5cf8f685b316e93660da71b0b.tar.xz
yuzu-9863db9db45339d5cf8f685b316e93660da71b0b.zip
kernel: convert KProcess to new style
Diffstat (limited to 'src/core/hle/service/glue')
-rw-r--r--src/core/hle/service/glue/arp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp
index 929dcca0d..ed6fcb5f6 100644
--- a/src/core/hle/service/glue/arp.cpp
+++ b/src/core/hle/service/glue/arp.cpp
@@ -18,14 +18,14 @@ namespace {
18std::optional<u64> GetTitleIDForProcessID(const Core::System& system, u64 process_id) { 18std::optional<u64> GetTitleIDForProcessID(const Core::System& system, u64 process_id) {
19 const auto& list = system.Kernel().GetProcessList(); 19 const auto& list = system.Kernel().GetProcessList();
20 const auto iter = std::find_if(list.begin(), list.end(), [&process_id](const auto& process) { 20 const auto iter = std::find_if(list.begin(), list.end(), [&process_id](const auto& process) {
21 return process->GetProcessID() == process_id; 21 return process->GetProcessId() == process_id;
22 }); 22 });
23 23
24 if (iter == list.end()) { 24 if (iter == list.end()) {
25 return std::nullopt; 25 return std::nullopt;
26 } 26 }
27 27
28 return (*iter)->GetProgramID(); 28 return (*iter)->GetProgramId();
29} 29}
30} // Anonymous namespace 30} // Anonymous namespace
31 31