mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
VideoCommon: Drop RepeatFrameDumpFrame helper.
This was needed with fixed framerate dumping. As we now synchronize the frames, the last one will just get padded.
This commit is contained in:
@ -578,7 +578,6 @@ void Renderer::DumpFrameData(const u8* data, int w, int h, AVIDump::DumpFormat f
|
||||
m_last_framedump_format = format;
|
||||
|
||||
// TODO: Refactor this. Right now it's needed for the implace flipping of the image.
|
||||
// It's also used to repeat the last frame.
|
||||
m_frame_data.assign(data, data + image_size);
|
||||
|
||||
if (!m_last_frame_dumped)
|
||||
@ -606,16 +605,6 @@ void Renderer::DumpFrameData(const u8* data, int w, int h, AVIDump::DumpFormat f
|
||||
#endif
|
||||
}
|
||||
|
||||
void Renderer::RepeatFrameDumpFrame()
|
||||
{
|
||||
#if defined(HAVE_LIBAV) || defined(_WIN32)
|
||||
if (SConfig::GetInstance().m_DumpFrames && m_AVI_dumping && !m_frame_data.empty())
|
||||
{
|
||||
AVIDump::AddFrame(m_frame_data.data(), m_last_framedump_width, m_last_framedump_height);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void Renderer::FlipImageData(u8* data, int w, int h, int pixel_width)
|
||||
{
|
||||
for (int y = 0; y < h / 2; ++y)
|
||||
|
Reference in New Issue
Block a user