Explorar el Código

hle: kernel: k_page_linked_list: Add Empty method.

bunnei hace 4 años
padre
commit
f29410d821
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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;
 };