X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgpu.cpp;h=1f1bef9351cbe14eb6ab5ba18a1c94d00d5fa7e8;hb=5d76d651dfc3aa0a2e810e6b6db2ae8a2e34c53e;hp=b83051cab3ddf478d4446de6cfe0f5e6bd88d107;hpb=9d399cea8466c7e4a6a1336dafdc830c4680d977;p=virtualjaguar diff --git a/src/gpu.cpp b/src/gpu.cpp index b83051c..1f1bef9 100644 --- a/src/gpu.cpp +++ b/src/gpu.cpp @@ -1044,6 +1044,10 @@ void GPUReset(void) gpu_in_exec = 0; //not needed GPUInterruptPending = false; GPUResetStats(); + + // Contents of local RAM are quasi-stable; we simulate this by randomizing RAM contents + for(uint32_t i=0; i<4096; i+=4) + *((uint32_t *)(&gpu_ram_8[i])) = rand(); } uint32_t GPUReadPC(void)