mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Framedumps: Add finish() function to limit memory lifetime.
This commit is contained in:
parent
ebc617882b
commit
b5a91e1dfa
6 changed files with 9 additions and 0 deletions
|
@ -891,6 +891,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
|
|||
formatBufferDump((u8*)map.pData, image.data(), source_width, source_height, map.RowPitch);
|
||||
|
||||
DumpFrameData(image.data(), source_width, source_height, AVIDump::DumpFormat::FORMAT_BGR, true);
|
||||
FinishFrameData();
|
||||
|
||||
D3D::context->Unmap(s_screenshot_texture, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue