3 ms·
NULL is actually only a valid memory location from the view of the GPU on this platform, not the CPU, and yeah, this is very likely to simply be an uncaught bug
by hrydgard 10y ago
NULL is actually only a valid memory location from the view of the GPU on this platform, not the CPU, and yeah, this is very likely to simply be an uncaught bug.
Traditional game console architectures don't usually have a lot of memory protection for the GPU - in fact, both the 360 and the 3DS were at various points in times hacked by subverting the GPU to do writes to global memory.
- to3m 10y agoThis is going back a few years now, but I'm pretty sure NULL was valid to read from the Wii's CPU (though not write, I don't think). It was where the product code was stored, as I recall - so every now and again you'd find some junk in some random string, starting with your title's product code, and it would be time to track down another missing NULL check...