toolchain icon indicating copy to clipboard operation
toolchain copied to clipboard

Allow overlap with gfx_CopyRectangle

Open ZERICO2005 opened this issue 2 months ago • 0 comments

Currently, gfx_CopyRectangle does not allow for two buffers to overlap. However, it does not appear to be too difficult to allow overlapping buffers.

This basically means implementing gfx_CopyRectangle like memmove instead of memcpy. Copying forwards with LDIR when src > dst, and copying backwards with LDDR when src < dst

ZERICO2005 avatar Oct 22 '25 17:10 ZERICO2005