diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-09 04:25:07 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-04-17 06:59:34 +0200 |
commit | 1d5923e1505bf61bde84bce4c61fe5b60ce18ee8 (patch) | |
tree | c2f8c50ccbe3c9ca93c8e43b96aaff9a6a6f05a3 /src/core | |
parent | core: reporter: Updates for new VMM. (diff) | |
download | yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.tar yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.tar.gz yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.tar.bz2 yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.tar.lz yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.tar.xz yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.tar.zst yuzu-1d5923e1505bf61bde84bce4c61fe5b60ce18ee8.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index 6d15aeed9..2f15635c5 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -37,9 +37,9 @@ #include "core/core.h" #include "core/core_manager.h" #include "core/gdbstub/gdbstub.h" +#include "core/hle/kernel/memory/page_table.h" #include "core/hle/kernel/process.h" #include "core/hle/kernel/scheduler.h" -#include "core/hle/kernel/vm_manager.h" #include "core/loader/loader.h" #include "core/memory.h" @@ -643,7 +643,7 @@ static void HandleQuery() { SendReply(target_xml); } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) { const VAddr base_address = - Core::System::GetInstance().CurrentProcess()->VMManager().GetCodeRegionBaseAddress(); + Core::System::GetInstance().CurrentProcess()->PageTable().GetCodeRegionStart(); std::string buffer = fmt::format("TextSeg={:0x}", base_address); SendReply(buffer.c_str()); } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) { |