diff options
author | bunnei <[email protected]> | 2022-09-09 21:17:52 -0700 |
---|---|---|
committer | bunnei <[email protected]> | 2022-10-18 19:13:34 -0700 |
commit | 58eb6953d1417d667af36461ac8391e005f49457 (patch) | |
tree | 3d21d4c4029e8d1e5087fbc11c8fe132f98d16db /src/core/hle/service/ldr | |
parent | 2bb41cffca7e5ec6383a59c513ef9d7e2def5f51 (diff) | |
download | yuzu-android-58eb6953d1417d667af36461ac8391e005f49457.tar.gz yuzu-android-58eb6953d1417d667af36461ac8391e005f49457.zip |
core: hle: kernel: k_memory_block: Update.
Diffstat (limited to 'src/core/hle/service/ldr')
-rw-r--r-- | src/core/hle/service/ldr/ldr.cpp | 4 |
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 {}; } |