Ver Fonte

hle: kernel: k_page_linked_list: Add Empty method.

bunnei há 4 anos atrás
pai
commit
f29410d821
1 ficheiros alterados com 4 adições e 0 exclusões
  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;
 };