diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2019-04-28 18:43:48 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-30 17:21:53 -0400 |
| commit | d2d7eacee7cbfc7a3eb9089ad149e7b4edcd7625 (patch) | |
| tree | dab7e623b1e6a2783effbda7a53f232d18aaf6ec /src/core/loader/nso.cpp | |
| parent | c3cb81acac85e39aec33e4a6ada819d05312fcb3 (diff) | |
core/loader: Track the NSO build ID of the current process
Diffstat (limited to 'src/core/loader/nso.cpp')
| -rw-r--r-- | src/core/loader/nso.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index e75c700ad1..f629892aea 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -150,6 +150,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process, // Apply cheats if they exist and the program has a valid title ID if (pm) { auto& system = Core::System::GetInstance(); + system.SetCurrentProcessBuildID(nso_header.build_id); const auto cheats = pm->CreateCheatList(system, nso_header.build_id); if (!cheats.empty()) { system.RegisterCheatList(cheats, nso_header.build_id, load_base, image_size); |
