summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-26 09:02:42 +0100
committerbunnei <bunneidev@gmail.com>2022-03-26 09:02:42 +0100
commitf29410d8218ee1bedc4cec88e16a01f2dcf54aa5 (patch)
tree835ddf6d9e510d079c386cb90b926ae6740949ab
parenthle: kernel: svc: UnmapProcessCodeMemory: Fix inverted alignment check. (diff)
downloadyuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.tar
yuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.tar.gz
yuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.tar.bz2
yuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.tar.lz
yuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.tar.xz
yuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.tar.zst
yuzu-f29410d8218ee1bedc4cec88e16a01f2dcf54aa5.zip
-rw-r--r--src/core/hle/kernel/k_page_linked_list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_page_linked_list.h b/src/core/hle/kernel/k_page_linked_list.h
index 0e2ae582a..869228322 100644
--- a/src/core/hle/kernel/k_page_linked_list.h
+++ b/src/core/hle/kernel/k_page_linked_list.h
@@ -89,6 +89,10 @@ public:
return ResultSuccess;
}
+ bool Empty() const {
+ return nodes.empty();
+ }
+
private:
std::list<Node> nodes;
};