Take your pick:Has anyone been able to get GX_SetTextureCopy to work - if so can someone point me to an example?
thanks - stupid assumption on my part. Looks like source needs to be in linear address space. linear to linear works as expected.Take your pick:
https://github.com/search?p=4&q=GX_SetTextureCopy&ref=searchresults&type=Code&utf8=✓
It's part of gspwn, so any type of exploit code will have it.
memcpy can be really efficient at copying memory but fact of the matter is that it takes time (a lot of time) to get memory into the CPU from main memory and it takes time to write it back to main memory. The GPU suffers this same problem and quite often a 1024x1024 texture takes a long time to draw from main memory and quite often VRAM textures will be many many times faster.thanks - stupid assumption on my part. Looks like source needs to be in linear address space. linear to linear works as expected.
edit: and really slow - I thought it would be faster than memcpy. doesnt appear to be the case.