diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index a5ff0081c5..a210be3bc3 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -96,6 +96,9 @@ TextureCacheBase::TextureCacheBase() TextureCacheBase::~TextureCacheBase() { + // Clear pending EFB copies first, so we don't try to flush them. + m_pending_efb_copies.clear(); + HiresTexture::Shutdown(); Invalidate(); Common::FreeAlignedMemory(temp);