mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
rename buffer cache type to buffer cache mode
This commit is contained in:
parent
a00d409ab7
commit
2e93b08b39
8 changed files with 33 additions and 33 deletions
|
@ -40,12 +40,12 @@ public:
|
|||
// Getters
|
||||
bool UseHostMemoryForCache() const
|
||||
{
|
||||
return (m_bufferCacheType == BufferCacheType::Host);
|
||||
return (m_bufferCacheMode == BufferCacheMode::Host);
|
||||
}
|
||||
|
||||
bool NeedsReducedLatency() const
|
||||
{
|
||||
return (m_bufferCacheType == BufferCacheType::DeviceShared || m_bufferCacheType == BufferCacheType::Host);
|
||||
return (m_bufferCacheMode == BufferCacheMode::DeviceShared || m_bufferCacheMode == BufferCacheMode::Host);
|
||||
}
|
||||
|
||||
MPTR GetImportedMemBaseAddress() const
|
||||
|
@ -68,7 +68,7 @@ private:
|
|||
MetalTemporaryBufferAllocator m_tempBufferAllocator;
|
||||
|
||||
MTL::Buffer* m_bufferCache = nullptr;
|
||||
BufferCacheType m_bufferCacheType;
|
||||
BufferCacheMode m_bufferCacheMode;
|
||||
MPTR m_importedMemBaseAddress;
|
||||
size_t m_hostAllocationSize = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue