mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
use host memory instead of buffer cache when possible
This commit is contained in:
parent
ed48fbfd55
commit
ab41de4f9f
5 changed files with 138 additions and 24 deletions
|
@ -115,6 +115,17 @@ public:
|
|||
}
|
||||
*/
|
||||
|
||||
// Getters
|
||||
bool UseHostMemoryForCache() const
|
||||
{
|
||||
return m_useHostMemoryForCache;
|
||||
}
|
||||
|
||||
MPTR GetImportedMemBaseAddress() const
|
||||
{
|
||||
return m_importedMemBaseAddress;
|
||||
}
|
||||
|
||||
private:
|
||||
class MetalRenderer* m_mtlr;
|
||||
|
||||
|
@ -126,4 +137,6 @@ private:
|
|||
//MetalVertexBufferCache m_vertexBufferCache;
|
||||
|
||||
MTL::Buffer* m_bufferCache = nullptr;
|
||||
bool m_useHostMemoryForCache = false;
|
||||
MPTR m_importedMemBaseAddress;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue