Skip to content
Permalink
Browse files

TextureCache: Fix incorrect format string in GetXFBTexture()

  • Loading branch information...
stenzek committed Apr 28, 2019
1 parent 906ccdb commit d5b3595314d3e0ac7e228670f1a5acac605133c7
Showing with 2 additions and 3 deletions.
  1. +2 −3 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);

0 comments on commit d5b3595

Please sign in to comment.
You can’t perform that action at this time.