[Save State] Recover Disk Seek Address when loading from Zip
This commit is contained in:
parent
c5c6167f05
commit
8bb117e4de
|
@ -2047,6 +2047,11 @@ bool CN64System::LoadState(const char * FileName)
|
|||
//Extra Info v2 (Project64 2.4)
|
||||
//Disk Interface Info
|
||||
unzReadCurrentFile(file, m_Reg.m_DiskInterface, sizeof(uint32_t) * 22);
|
||||
|
||||
//Recover Disk Seek Address (if the save state is done while loading/saving data)
|
||||
if (g_Disk)
|
||||
DiskBMReadWrite(false);
|
||||
|
||||
//System Timers Info
|
||||
m_SystemTimer.LoadData(file);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue