VideoCommon: Add custom stride for framedumping.

This commit is contained in:
degasus
2016-10-08 15:28:12 +02:00
parent 1ef5ba0c53
commit 0864ef4352
8 changed files with 19 additions and 27 deletions

View File

@ -848,6 +848,7 @@ void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height
CheckHR(s_screenshot_texture->Map(0, &read_range, &screenshot_texture_map));
DumpFrameData(reinterpret_cast<const u8*>(screenshot_texture_map), source_width, source_height,
dst_location.PlacedFootprint.Footprint.RowPitch,
AVIDump::DumpFormat::FORMAT_RGBA);
FinishFrameData();