Skip to content

Commit

Permalink
Merge pull request #8046 from stenzek/xfb-dump-format-string
Browse files Browse the repository at this point in the history
TextureCache: Fix incorrect format string in GetXFBTexture()
  • Loading branch information
stenzek committed Apr 28, 2019
2 parents 906ccdb + d5b3595 commit ab44a70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Source/Core/VideoCommon/TextureCacheBase.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit ab44a70

Please sign in to comment.