We need to combine these globals into a common struct one day.

This was really unsafe to do. (My fault)
Fixes savestates in Breath of Fire 5.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4783 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2011-06-30 19:36:15 +00:00
parent 64e9a26993
commit cdb54545fe
1 changed files with 3 additions and 0 deletions

View File

@ -601,6 +601,9 @@ void SaveStateBase::cdvdFreeze()
if( cdvd.Reading )
cdvd.RErr = DoCDVDreadTrack( cdvd.Readed ? cdvd.Sector : cdvd.SeekToSector, cdvd.ReadMode);
// Also close the tray!
trayState = 0;
}
}