mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
Build fix for the linux libav build.
This commit is contained in:
parent
ded938bbe7
commit
e4b358d0a7
@ -932,7 +932,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
AVIDump::AddFrame(frame_data);
|
AVIDump::AddFrame(frame_data);
|
||||||
#elif defined HAVE_LIBAV
|
#elif defined HAVE_LIBAV
|
||||||
AVIDump::AddFrame(frame_data, w, h);
|
AVIDump::AddFrame((u8*)frame_data, w, h);
|
||||||
#endif
|
#endif
|
||||||
Core::Callback_VideoCopiedToXFB(false);
|
Core::Callback_VideoCopiedToXFB(false);
|
||||||
return;
|
return;
|
||||||
@ -951,7 +951,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
AVIDump::AddFrame(frame_data);
|
AVIDump::AddFrame(frame_data);
|
||||||
#elif defined HAVE_LIBAV
|
#elif defined HAVE_LIBAV
|
||||||
AVIDump::AddFrame(frame_data, w, h);
|
AVIDump::AddFrame((u8*)frame_data, w, h);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
Core::Callback_VideoCopiedToXFB(false);
|
Core::Callback_VideoCopiedToXFB(false);
|
||||||
@ -1145,8 +1145,8 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
AVIDump::AddFrame(frame_data);
|
AVIDump::AddFrame(frame_data);
|
||||||
#else
|
#else
|
||||||
FlipImageData(frame_data, w, h);
|
FlipImageData((u8*)frame_data, w, h);
|
||||||
AVIDump::AddFrame(frame_data, w, h);
|
AVIDump::AddFrame((u8*)frame_data, w, h);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user