summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/Debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Src/Debugger.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/Debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/Debugger.cpp b/Source/Core/VideoCommon/Src/Debugger.cpp
index 6ed390c84f..0b8e487307 100644
--- a/Source/Core/VideoCommon/Src/Debugger.cpp
+++ b/Source/Core/VideoCommon/Src/Debugger.cpp
@@ -94,7 +94,7 @@ void ContinueGFXDebugger()
void GFXDebuggerBase::DumpPixelShader(const char* path)
{
char filename[MAX_PATH];
- sprintf(filename, "%s/dump_ps.txt", path);
+ sprintf(filename, "%sdump_ps.txt", path);
std::string output;
bool useDstAlpha = bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24;
@@ -126,7 +126,7 @@ void GFXDebuggerBase::DumpPixelShader(const char* path)
void GFXDebuggerBase::DumpVertexShader(const char* path)
{
char filename[MAX_PATH];
- sprintf(filename, "%s/dump_vs_consts.txt", path);
+ sprintf(filename, "%sdump_vs_consts.txt", path);
File::CreateEmptyFile(filename);
File::WriteStringToFile(true, GenerateVertexShaderCode(g_nativeVertexFmt->m_components, g_ActiveConfig.backend_info.APIType), filename);