mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Create userdir/Dump/Frames as needed.
This is used for framedump.raw in non-Windows builds without libav support.
This commit is contained in:
parent
5ba5aa10e3
commit
073cce959a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue