aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <[email protected]>2022-09-09 21:17:52 -0700
committerbunnei <[email protected]>2022-10-18 19:13:34 -0700
commit58eb6953d1417d667af36461ac8391e005f49457 (patch)
tree3d21d4c4029e8d1e5087fbc11c8fe132f98d16db /src/core/hle/service
parent2bb41cffca7e5ec6383a59c513ef9d7e2def5f51 (diff)
downloadyuzu-android-58eb6953d1417d667af36461ac8391e005f49457.tar.gz
yuzu-android-58eb6953d1417d667af36461ac8391e005f49457.zip
core: hle: kernel: k_memory_block: Update.
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 {};
}