diff --git a/src/core/gpu_hw_texture_cache.cpp b/src/core/gpu_hw_texture_cache.cpp index a7dd2f2cd..1efc0988d 100644 --- a/src/core/gpu_hw_texture_cache.cpp +++ b/src/core/gpu_hw_texture_cache.cpp @@ -544,6 +544,9 @@ ALIGN_TO_CACHE_LINE GPUTextureCacheState s_state; bool GPUTextureCache::ShouldTrackVRAMWrites() { + if (!g_settings.gpu_texture_cache) + return false; + #ifdef ALWAYS_TRACK_VRAM_WRITES return true; #else