summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-02-09 03:49:41 +0100
committerGitHub <noreply@github.com>2022-02-09 03:49:41 +0100
commit862dddf8c90c05d1cc14e4d51dd8fb3b683152ac (patch)
treed0983e02c0426bb89b95db6f687be943aa719cdd
parenthle: kernel: KCodeMemory: Correct m_page_group number of pages. (diff)
downloadyuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.tar
yuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.tar.gz
yuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.tar.bz2
yuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.tar.lz
yuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.tar.xz
yuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.tar.zst
yuzu-862dddf8c90c05d1cc14e4d51dd8fb3b683152ac.zip
-rw-r--r--src/core/hle/kernel/k_code_memory.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_code_memory.cpp b/src/core/hle/kernel/k_code_memory.cpp
index 2419d113b..0b225e8e0 100644
--- a/src/core/hle/kernel/k_code_memory.cpp
+++ b/src/core/hle/kernel/k_code_memory.cpp
@@ -29,7 +29,6 @@ ResultCode KCodeMemory::Initialize(Core::DeviceMemory& device_memory, VAddr addr
auto& page_table = m_owner->PageTable();
// Construct the page group.
- KMemoryInfo kBlockInfo = page_table.QueryInfo(addr);
m_page_group = KPageLinkedList(addr, Common::DivideUp(size, PageSize));
// Lock the memory.