summaryrefslogtreecommitdiff
path: root/src/core/loader/nso.cpp
diff options
context:
space:
mode:
authorGravatar Liam2023-02-13 11:21:43 -0500
committerGravatar Liam2023-02-13 19:03:12 -0500
commitceda2d280e8a3030c1e23083c5cea9158387fe4c (patch)
tree8041460840ed81d4cb74d87eecfb8fb720cdfa15 /src/core/loader/nso.cpp
parentkernel: use GetCurrentProcess (diff)
downloadyuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.gz
yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.xz
yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.zip
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/loader/nso.cpp')
-rw-r--r--src/core/loader/nso.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 4c3b3c655..a5c384fb5 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -145,7 +145,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::KProcess& process, Core::
145 145
146 // Apply cheats if they exist and the program has a valid title ID 146 // Apply cheats if they exist and the program has a valid title ID
147 if (pm) { 147 if (pm) {
148 system.SetCurrentProcessBuildID(nso_header.build_id); 148 system.SetApplicationProcessBuildID(nso_header.build_id);
149 const auto cheats = pm->CreateCheatList(nso_header.build_id); 149 const auto cheats = pm->CreateCheatList(nso_header.build_id);
150 if (!cheats.empty()) { 150 if (!cheats.empty()) {
151 system.RegisterCheatList(cheats, nso_header.build_id, load_base, image_size); 151 system.RegisterCheatList(cheats, nso_header.build_id, load_base, image_size);