mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-08 18:41:30 -06:00
rsx: Allow negative src and dst pitch in nv0039
- Confirmed with hardware tests
This commit is contained in:
parent
e95a980651
commit
ce12c29441
@ -14,7 +14,7 @@ namespace rsx
|
||||
namespace nv0039
|
||||
{
|
||||
// Transfer with stride
|
||||
inline void block2d_copy_with_stride(u8* dst, const u8* src, u32 width, u32 height, u32 src_pitch, u32 dst_pitch, u8 src_stride, u8 dst_stride)
|
||||
inline void block2d_copy_with_stride(u8* dst, const u8* src, u32 width, u32 height, s32 src_pitch, s32 dst_pitch, u8 src_stride, u8 dst_stride)
|
||||
{
|
||||
for (u32 row = 0; row < height; ++row)
|
||||
{
|
||||
@ -33,7 +33,7 @@ namespace rsx
|
||||
}
|
||||
}
|
||||
|
||||
inline void block2d_copy(u8* dst, const u8* src, u32 width, u32 height, u32 src_pitch, u32 dst_pitch)
|
||||
inline void block2d_copy(u8* dst, const u8* src, u32 width, u32 height, s32 src_pitch, s32 dst_pitch)
|
||||
{
|
||||
for (u32 i = 0; i < height; ++i)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user