From 0152f63655ddb532cac0c9fab739ad5caa15838c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 3 May 2018 14:24:44 +1000 Subject: TextureCacheBase: Make "disable vram copies" part of the active config --- Source/Core/VideoCommon/TextureCacheBase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp') diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index f0b1392531..345770bba2 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -125,7 +125,8 @@ void TextureCacheBase::OnConfigChanged(VideoConfig& config) config.bTexFmtOverlayEnable != backup_config.texfmt_overlay || config.bTexFmtOverlayCenter != backup_config.texfmt_overlay_center || config.bHiresTextures != backup_config.hires_textures || - config.bEnableGPUTextureDecoding != backup_config.gpu_texture_decoding) + config.bEnableGPUTextureDecoding != backup_config.gpu_texture_decoding || + config.bDisableCopyToVRAM != backup_config.disable_vram_copies) { Invalidate(); @@ -228,6 +229,7 @@ void TextureCacheBase::SetBackupConfig(const VideoConfig& config) backup_config.stereo_3d = config.stereo_mode != StereoMode::Off; backup_config.efb_mono_depth = config.bStereoEFBMonoDepth; backup_config.gpu_texture_decoding = config.bEnableGPUTextureDecoding; + backup_config.disable_vram_copies = config.bDisableCopyToVRAM; } TextureCacheBase::TCacheEntry* -- cgit v1.2.3