mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
improve host and device shared buffer cache modes
This commit is contained in:
parent
fbea328b9b
commit
a00d409ab7
3 changed files with 23 additions and 9 deletions
|
@ -43,6 +43,11 @@ public:
|
|||
return (m_bufferCacheType == BufferCacheType::Host);
|
||||
}
|
||||
|
||||
bool NeedsReducedLatency() const
|
||||
{
|
||||
return (m_bufferCacheType == BufferCacheType::DeviceShared || m_bufferCacheType == BufferCacheType::Host);
|
||||
}
|
||||
|
||||
MPTR GetImportedMemBaseAddress() const
|
||||
{
|
||||
return m_importedMemBaseAddress;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue