diff --git a/rpcsx/gpu/Cache.cpp b/rpcsx/gpu/Cache.cpp index 09bf3ee60..3870a5b2a 100644 --- a/rpcsx/gpu/Cache.cpp +++ b/rpcsx/gpu/Cache.cpp @@ -702,7 +702,8 @@ struct CachedHostVisibleBuffer : CachedBuffer { using CachedBuffer::update; bool expensive() { - return !rx::g_config.disableGpuCache && addressRange.size() >= rx::mem::pageSize; + return !rx::g_config.disableGpuCache && + addressRange.size() >= rx::mem::pageSize; } bool flush(void *target, rx::AddressRange range) { @@ -778,15 +779,7 @@ struct CachedImageBuffer : Cache::Entry { unsigned depth = 1; bool expensive() { - if (rx::g_config.disableGpuCache) { - return false; - } - - if (isLinear() && info.totalTiledSize < rx::mem::pageSize) { - return false; - } - - return true; + return false; } [[nodiscard]] bool isLinear() const {