diff options
author | Liam <byteslice@airmail.cc> | 2023-03-17 21:26:04 -0400 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-22 09:35:16 -0400 |
commit | fb49ec19c1fb6030fcc960077e82c998290d0ab8 (patch) | |
tree | aa5f53cbbfc2b255923bcf362ee0009938ed8187 /src/core/loader/kip.cpp | |
parent | 6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09 (diff) |
kernel: use KTypedAddress for addresses
Diffstat (limited to 'src/core/loader/kip.cpp')
-rw-r--r-- | src/core/loader/kip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/kip.cpp b/src/core/loader/kip.cpp index d8a1bf82a1..709e2564ff 100644 --- a/src/core/loader/kip.cpp +++ b/src/core/loader/kip.cpp @@ -96,7 +96,7 @@ AppLoader::LoadResult AppLoader_KIP::Load(Kernel::KProcess& process, } codeset.memory = std::move(program_image); - const VAddr base_address = process.PageTable().GetCodeRegionStart(); + const VAddr base_address = GetInteger(process.PageTable().GetCodeRegionStart()); process.LoadModule(std::move(codeset), base_address); LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", kip->GetName(), base_address); |