Browse Source

hle: kernel: k_page_linked_list: Add Empty method.

bunnei 4 years ago
parent
commit
f29410d821
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/core/hle/kernel/k_page_linked_list.h

+ 4 - 0
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;
 };