gbadev-org / tonc

GBA Programming Tutorial (Community Edition)
https://gbadev.net/tonc
Other
48 stars 22 forks source link

Stop using memcpy() to copy data to VRAM #113

Open AntonioND opened 3 months ago

AntonioND commented 3 months ago

As mentioned here https://github.com/gbadev-org/tonc/issues/112#issuecomment-2305310404 I've fixed the examples to not use memcpy() when copying data to VRAM. We need to check the text to see if there are instances of using memcpy(), and switch them to memcpy16() or memcpy32().