From f29410d8218ee1bedc4cec88e16a01f2dcf54aa5 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 26 Mar 2022 01:02:42 -0700 Subject: hle: kernel: k_page_linked_list: Add Empty method. --- src/core/hle/kernel/k_page_linked_list.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/hle') 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 nodes; }; -- cgit v1.2.3