summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-18 03:41:33 +0200
committerZach Hilman <zachhilman@gmail.com>2019-05-25 22:06:53 +0200
commit2179ad7483bde3c210bf4f638ae8801b3ba11214 (patch)
tree27a139c66bb7917c6c2eb7075ecfb615425054f3 /src/core/loader
parentMerge pull request #2513 from lioncash/string (diff)
downloadyuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.tar
yuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.tar.gz
yuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.tar.bz2
yuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.tar.lz
yuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.tar.xz
yuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.tar.zst
yuzu-2179ad7483bde3c210bf4f638ae8801b3ba11214.zip
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/nso.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 8592b1f44..7beeaaff3 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -164,6 +164,9 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process,
// Register module with GDBStub
GDBStub::RegisterModule(file.GetName(), load_base, load_base);
+ // Register module for ARMInterface with System
+ Core::System::GetInstance().RegisterNSOModule(file.GetName(), load_base);
+
return load_base + image_size;
}