summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-09-07 02:31:32 +1200
committerScott Mansell <phiren@gmail.com>2015-09-07 05:20:25 +1200
commitac467d9fb9fba8580246394ddf289c1ccb2312d6 (patch)
tree34b2aa0ed92e1a17e32ec33e81fc61e4f187f284 /Source/Core/VideoCommon/TextureCacheBase.cpp
parentbda964e0b97deef869260a0f12681c38f9528a68 (diff)
FifoPlayer: Don't check efb copy hashes when plaing back a broken dff
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 8626749283..0107b3e57d 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -10,6 +10,7 @@
#include "Common/StringUtil.h"
#include "Core/ConfigManager.h"
+#include "Core/FifoPlayer/FifoPlayer.h"
#include "Core/HW/Memmap.h"
#include "VideoCommon/Debugger.h"
@@ -441,7 +442,8 @@ TextureCache::TCacheEntryBase* TextureCache::Load(const u32 stage)
{
// EFB copies have slightly different rules as EFB copy formats have different
// meanings from texture formats.
- if (tex_hash == entry->hash && (!isPaletteTexture || g_Config.backend_info.bSupportsPaletteConversion))
+ if ((tex_hash == entry->hash && (!isPaletteTexture || g_Config.backend_info.bSupportsPaletteConversion)) ||
+ IsPlayingBackFifologWithBrokenEFBCopies)
{
// TODO: We should check format/width/height/levels for EFB copies. Checking
// format is complicated because EFB copy formats don't exactly match