diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-05-17 21:41:33 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-05-25 16:06:53 -0400 |
commit | 2179ad7483bde3c210bf4f638ae8801b3ba11214 (patch) | |
tree | 27a139c66bb7917c6c2eb7075ecfb615425054f3 /src/core/core.h | |
parent | e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875 (diff) |
core: Track load offsets of NSO modules
Needed for backtrace decomposition
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index a9a756a4c..10542ba21 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -8,6 +8,7 @@ #include <memory> #include <string> +#include <map> #include "common/common_types.h" #include "core/file_sys/vfs_types.h" #include "core/hle/kernel/object.h" @@ -285,6 +286,10 @@ public: void ClearContentProvider(FileSys::ContentProviderUnionSlot slot); + void RegisterNSOModule(std::string name, VAddr start_address); + + const std::map<VAddr, std::string, std::greater<>>& GetRegisteredNSOModules() const; + private: System(); |