summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-02-11 15:29:37 +1000
committerStenzek <stenzek@gmail.com>2018-02-11 15:29:37 +1000
commit84b990faa09a1ace5561fb1abc6eefca7f077461 (patch)
tree4ef5b7f7b9dad51835e8ae87921b7e6451100d2b /Source/Core/VideoCommon
parent3f81483f83455697ab732a4f8af6e4f6e94ffb9c (diff)
VideoConfig: Remove bForceCopyToRam field
It's the inverse of supports-copy-to-vram.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index a2c42d4e68..b1925886e9 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -1566,7 +1566,7 @@ void TextureCacheBase::CopyRenderTargetToTexture(u32 dstAddr, EFBCopyFormat dstF
bool copy_to_vram = g_ActiveConfig.backend_info.bSupportsCopyToVram;
bool copy_to_ram =
!(is_xfb_copy ? g_ActiveConfig.bSkipXFBCopyToRam : g_ActiveConfig.bSkipEFBCopyToRam) ||
- g_ActiveConfig.backend_info.bForceCopyToRam;
+ !g_ActiveConfig.backend_info.bSupportsCopyToVram;
u8* dst = Memory::GetPointer(dstAddr);
if (dst == nullptr)
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index b56e95ec31..0fad4efc72 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -222,7 +222,6 @@ struct VideoConfig final
bool bSupportsGPUTextureDecoding;
bool bSupportsST3CTextures;
bool bSupportsCopyToVram;
- bool bForceCopyToRam; // Needed by Software Renderer
bool bSupportsBitfield; // Needed by UberShaders, so must stay in VideoCommon
bool bSupportsDynamicSamplerIndexing; // Needed by UberShaders, so must stay in VideoCommon
bool bSupportsBPTCTextures;