The hardware would only overheat when you are doing intensive tasks like gaming. So if the machine conks out while you're gaming then overheating has to be the problem. Try running the machine in a cooler place and check out the max temp. your CPU/GPU can handle. If it gets near the max. while gaming then overheating is your issue.