Memory: Implement sceKernelMemoryPoolGetBlockStats (#3646)

* Implement sceKernelMemoryPoolGetBlockStats

Not entirely sure on the logic behind the cached blocks work, but flushed blocks seems to just be based on committed direct memory.

* Fix comment
This commit is contained in:
Stephen Miller
2025-09-24 04:40:26 -05:00
committed by GitHub
parent 5d8027f0c0
commit eeee6ad0ee
4 changed files with 49 additions and 0 deletions

View File

@@ -258,6 +258,8 @@ public:
void NameVirtualRange(VAddr virtual_addr, u64 size, std::string_view name);
s32 GetMemoryPoolStats(::Libraries::Kernel::OrbisKernelMemoryPoolBlockStats* stats);
void InvalidateMemory(VAddr addr, u64 size) const;
private: