mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
correctly report memory usage for host buffer cache
This commit is contained in:
parent
e00d244e0d
commit
fbea328b9b
3 changed files with 10 additions and 4 deletions
|
@ -48,6 +48,11 @@ public:
|
|||
return m_importedMemBaseAddress;
|
||||
}
|
||||
|
||||
size_t GetHostAllocationSize() const
|
||||
{
|
||||
return m_hostAllocationSize;
|
||||
}
|
||||
|
||||
private:
|
||||
class MetalRenderer* m_mtlr;
|
||||
|
||||
|
@ -60,4 +65,5 @@ private:
|
|||
MTL::Buffer* m_bufferCache = nullptr;
|
||||
BufferCacheType m_bufferCacheType;
|
||||
MPTR m_importedMemBaseAddress;
|
||||
size_t m_hostAllocationSize = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue