- fix load slot2 savestate from old savestates created before [r4867]
This commit is contained in:
mtabachenko 2013-11-12 10:32:51 +00:00
parent 2f094cf11d
commit 429afd87f6
1 changed files with 3 additions and 2 deletions

View File

@ -408,8 +408,9 @@ static bool s_slot2_loadstate(EMUFILE* is, int size)
//version 0:
if(version >= 0)
{
u8 slotID = is->read32le();
NDS_SLOT2_TYPE slotType = NDS_SLOT2_AUTO;
u8 slotID = is->read32le();
if (version == 0)
slot2_getTypeByID(slotID, slotType);
slot2_Change(slotType);