Merge pull request #1421 from comex/frames-mkdir

Create userdir/Dump/Frames as needed.
This commit is contained in:
comex 2014-10-28 23:37:36 -04:00
commit 6618337ece
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)
{