Nope. Do you have games other than SRB2 installed on there? Try playing those and see if the same thing occurs. If it does, then it is possible that when you play any games, the power supply gets overloaded for some stupid reason and thus turns off your PC to protect the PSU from getting damaged which means you need to replace it and test out the games and stuff again. If the problem is not resolved with a new PSU, It could be an OS file corrupted, possibly bad RAM, or Video Card.
Anyways, try out another game and see if it does the same thing and report back here.