From d5b3595314d3e0ac7e228670f1a5acac605133c7 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 28 Apr 2019 14:32:37 +1000 Subject: [PATCH] TextureCache: Fix incorrect format string in GetXFBTexture() --- Source/Core/VideoCommon/TextureCacheBase.cpp | 5 ++--- 1 file 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);