Create userdir/Dump/Frames as needed.

This is used for framedump.raw in non-Windows builds without libav
support.
This commit is contained in:
comex 2014-10-28 17:24:07 -04:00
parent 5ba5aa10e3
commit 073cce959a
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{