autodetect savestate type when loading from a slot