diff options
| author | Stenzek <stenzek@gmail.com> | 2019-04-28 14:32:37 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2019-04-28 14:32:37 +1000 |
| commit | d5b3595314d3e0ac7e228670f1a5acac605133c7 (patch) | |
| tree | 7038eb366b9caebbabc150d923c48e047c93b3d9 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 906ccdb1b43345d26f8065e537be0adbf811e0bf (diff) | |
TextureCache: Fix incorrect format string in GetXFBTexture()
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 01d7a675eb..441ca33145 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -1282,10 +1282,9 @@ TextureCacheBase::GetXFBTexture(u32 address, u32 width, u32 height, u32 stride, if (g_ActiveConfig.bDumpXFBTarget) { - // While this isn't really an xfb copy, we can treat it as such - // for dumping purposes + // While this isn't really an xfb copy, we can treat it as such for dumping purposes static int xfb_count = 0; - entry->texture->Save(StringFromFormat("loaded_xfb_%i.png", + entry->texture->Save(StringFromFormat("%sxfb_loaded_%i.png", File::GetUserPath(D_DUMPTEXTURES_IDX).c_str(), xfb_count++), 0); |
