CDROM: Preserve header valid bit on more commands

Fixes Goryuujin Electro hanging on boot.
This commit is contained in:
Connor McLaughlin
2020-03-29 01:16:01 +10:00
parent 0e0bd2852f
commit deb2865606
2 changed files with 19 additions and 9 deletions

View File

@ -160,10 +160,10 @@ private:
BitField<u8, bool, 6, 1> seeking;
BitField<u8, bool, 7, 1> playing_cdda;
/// Clears the CDDA/seeking/header valid bits.
/// Clears the CDDA/seeking bits.
ALWAYS_INLINE void ClearActiveBits()
{
bits &= ~(STAT_HEADER_VALID | STAT_SEEKING | STAT_PLAYING_CDDA);
bits &= ~(STAT_SEEKING | STAT_PLAYING_CDDA);
}
};