mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Software Backend: Remove reinterpret_cast which violates the strict aliasing rule
This commit is contained in:
@ -1469,8 +1469,7 @@ void Encode(u8* dst, const EFBCopyParams& params, u32 native_width, u32 bytes_pe
|
||||
{
|
||||
if (params.copy_format == EFBCopyFormat::XFB)
|
||||
{
|
||||
EfbInterface::EncodeXFB(reinterpret_cast<EfbInterface::yuv422_packed*>(dst), native_width,
|
||||
src_rect, params.y_scale);
|
||||
EfbInterface::EncodeXFB(dst, native_width, src_rect, params.y_scale);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user