summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nro.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/nro.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/nro.cpp')
-rw-r--r--src/core/loader/nro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp
index 506808b5d..d7562b4bc 100644
--- a/src/core/loader/nro.cpp
+++ b/src/core/loader/nro.cpp
@@ -203,7 +203,7 @@ static bool LoadNroImpl(Kernel::KProcess& process, const std::vector<u8>& data)
// Load codeset for current process
codeset.memory = std::move(program_image);
- process.LoadModule(std::move(codeset), process.GetPageTable().GetCodeRegionStart());
+ process.LoadModule(std::move(codeset), process.GetEntryPoint());
return true;
}