From 1bff48cbf9862cf5b2dbd2d300e8375ea98b9925 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sat, 24 Dec 2022 03:51:27 -0800 Subject: [PATCH] GS: Get rid of the last two places the now non-existant s_dump_root variable was used. --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index c95c8a41a9..26bc9aec7c 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -270,7 +270,7 @@ GSTexture* GSRendererHW::GetOutput(int i, int& y_offset) { if (GSConfig.SaveFrame && s_n >= GSConfig.SaveN) { - t->Save(s_dump_root + StringUtil::StdStringFromFormat("%05d_f%lld_fr%d_%05x_%s.bmp", s_n, g_perfmon.GetFrame(), i, (int)TEX0.TBP0, psm_str(TEX0.PSM))); + t->Save(GetDrawDumpPath("%05d_f%lld_fr%d_%05x_%s.bmp", s_n, g_perfmon.GetFrame(), i, (int)TEX0.TBP0, psm_str(TEX0.PSM))); } } #endif @@ -299,7 +299,7 @@ GSTexture* GSRendererHW::GetFeedbackOutput() #ifdef ENABLE_OGL_DEBUG if (GSConfig.DumpGSData && GSConfig.SaveFrame && s_n >= GSConfig.SaveN) - t->Save(s_dump_root + StringUtil::StdStringFromFormat("%05d_f%lld_fr%d_%05x_%s.bmp", s_n, g_perfmon.GetFrame(), 3, (int)TEX0.TBP0, psm_str(TEX0.PSM))); + t->Save(GetDrawDumpPath("%05d_f%lld_fr%d_%05x_%s.bmp", s_n, g_perfmon.GetFrame(), 3, (int)TEX0.TBP0, psm_str(TEX0.PSM))); #endif return t;