mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
Merge pull request #1421 from comex/frames-mkdir
Create userdir/Dump/Frames as needed.
This commit is contained in:
commit
6618337ece
@ -1557,6 +1557,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
|
|||||||
if (!bLastFrameDumped)
|
if (!bLastFrameDumped)
|
||||||
{
|
{
|
||||||
movie_file_name = File::GetUserPath(D_DUMPFRAMES_IDX) + "framedump.raw";
|
movie_file_name = File::GetUserPath(D_DUMPFRAMES_IDX) + "framedump.raw";
|
||||||
|
File::CreateFullPath(movie_file_name);
|
||||||
pFrameDump.Open(movie_file_name, "wb");
|
pFrameDump.Open(movie_file_name, "wb");
|
||||||
if (!pFrameDump)
|
if (!pFrameDump)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user