PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

copying memory

i have a unsigned short buffer of 320*240 and would like to cope into vid mem,can anyone tell me if memcpy could be used for this.
Yes it could.
Just make sure you copy 320 * 240 * 2, since a unsigned short is two bytes.