mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Fix frame dumps on file close in certain situations
This commit is contained in:
parent
ea33405feb
commit
43c48a6f48
4 changed files with 8 additions and 8 deletions
|
@ -1530,9 +1530,9 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
|
|||
{
|
||||
if (bLastFrameDumped && bAVIDumping)
|
||||
{
|
||||
AVIDump::Stop();
|
||||
std::vector<u8>().swap(frame_data);
|
||||
w = h = 0;
|
||||
AVIDump::Stop();
|
||||
bAVIDumping = false;
|
||||
OSD::AddMessage("Stop dumping frames", 2000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue