summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2022-05-26 00:59:24 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2022-06-26 21:53:21 -0500
commit4fbbd85ef45e4d3f609035563abab362cdc89b7f (patch)
tree3440f7831c98fb473878d608da1c63ee0e2b56b8 /Source/Core
parentb9995b04a0369fbebe9c10bea8404a5e2206262c (diff)
VideoCommon: create variables for EFB/XFB copy prefix. Reword prefix to 'efb1' and 'xfb1' to match textures
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index daf7e292d1..503d2544b5 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -10,6 +10,7 @@
#include <memory>
#include <optional>
#include <string>
+#include <string_view>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
@@ -29,6 +30,9 @@ class AbstractStagingTexture;
class PointerWrap;
struct VideoConfig;
+constexpr std::string_view EFB_DUMP_PREFIX = "efb1";
+constexpr std::string_view XFB_DUMP_PREFIX = "xfb1";
+
struct TextureAndTLUTFormat
{
TextureAndTLUTFormat(TextureFormat texfmt_ = TextureFormat::I4,