Fix crash when making a snapshoot while emalator stopped.

Hi, I experienced a crash while trying to load a rom which failed to load, and then try to go back to the menu (a snapshot of the not running game is taken, causing to access an incorrect memory address).