summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-09-10 06:17:52 +0200
committerbunnei <bunneidev@gmail.com>2022-10-19 04:13:34 +0200
commit58eb6953d1417d667af36461ac8391e005f49457 (patch)
tree3d21d4c4029e8d1e5087fbc11c8fe132f98d16db /src/core/hle/service
parentcore: hle: kernel: k_memory_block_manager: Update. (diff)
downloadyuzu-58eb6953d1417d667af36461ac8391e005f49457.tar
yuzu-58eb6953d1417d667af36461ac8391e005f49457.tar.gz
yuzu-58eb6953d1417d667af36461ac8391e005f49457.tar.bz2
yuzu-58eb6953d1417d667af36461ac8391e005f49457.tar.lz
yuzu-58eb6953d1417d667af36461ac8391e005f49457.tar.xz
yuzu-58eb6953d1417d667af36461ac8391e005f49457.tar.zst
yuzu-58eb6953d1417d667af36461ac8391e005f49457.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index becd6d1b9..652441bc2 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -290,7 +290,7 @@ public:
const std::size_t padding_size{page_table.GetNumGuardPages() * Kernel::PageSize};
const auto start_info{page_table.QueryInfo(start - 1)};
- if (start_info.state != Kernel::KMemoryState::Free) {
+ if (start_info.GetState() != Kernel::KMemoryState::Free) {
return {};
}
@@ -300,7 +300,7 @@ public:
const auto end_info{page_table.QueryInfo(start + size)};
- if (end_info.state != Kernel::KMemoryState::Free) {
+ if (end_info.GetState() != Kernel::KMemoryState::Free) {
return {};
}