Since it happens after several hours of gaming, the first thing that I would check is overheating -- run a CPU temp monitor. HERE is one that works well and is free. It would be best to watch the temperatures during a stress test using Prime 95.
Another good check is to test your memory, although it is probably ok, THIS is a good test program and is also free, just burn to a CD and boot from it.