From 073cce959a8de1cafabac8df24a992d81d1a1abe Mon Sep 17 00:00:00 2001 From: comex Date: Tue, 28 Oct 2014 17:24:07 -0400 Subject: [PATCH] Create userdir/Dump/Frames as needed. This is used for framedump.raw in non-Windows builds without libav support. --- Source/Core/VideoBackends/OGL/Render.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index 7feba47baa..69dbd4052f 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -1557,6 +1557,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co if (!bLastFrameDumped) { movie_file_name = File::GetUserPath(D_DUMPFRAMES_IDX) + "framedump.raw"; + File::CreateFullPath(movie_file_name); pFrameDump.Open(movie_file_name, "wb"); if (!pFrameDump) {