summaryrefslogtreecommitdiffstats
path: root/src/core/loader/kip.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-08-25 23:59:32 +0200
committerGitHub <noreply@github.com>2023-08-25 23:59:32 +0200
commit18ad55be0ba2c418c766c9857075b3b64d28104e (patch)
treef3ccc0f4554cba892c8b102adacf4774b70c862b /src/core/loader/kip.cpp
parentMerge pull request #11357 from liamwhite/lime-vfs (diff)
downloadyuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.gz
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.bz2
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.lz
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.xz
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.zst
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.zip
Diffstat (limited to 'src/core/loader/kip.cpp')
-rw-r--r--src/core/loader/kip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/kip.cpp b/src/core/loader/kip.cpp
index ffe976b94..d722459c6 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 = GetInteger(process.GetPageTable().GetCodeRegionStart());
+ const VAddr base_address = GetInteger(process.GetEntryPoint());
process.LoadModule(std::move(codeset), base_address);
LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", kip->GetName(), base_address);