mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoCommon: Add custom stride for framedumping.
This commit is contained in:
@ -148,7 +148,7 @@ protected:
|
||||
static void RecordVideoMemory();
|
||||
|
||||
bool IsFrameDumping();
|
||||
void DumpFrameData(const u8* data, int w, int h, AVIDump::DumpFormat format,
|
||||
void DumpFrameData(const u8* data, int w, int h, int stride, AVIDump::DumpFormat format,
|
||||
bool swap_upside_down = false);
|
||||
void FinishFrameData();
|
||||
|
||||
@ -194,6 +194,7 @@ private:
|
||||
bool m_last_frame_dumped = false;
|
||||
int m_last_framedump_width = 0;
|
||||
int m_last_framedump_height = 0;
|
||||
int m_last_framedump_stride = 0;
|
||||
AVIDump::DumpFormat m_last_framedump_format;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user