added savestates for emulators