mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 10:35:46 -04:00
CDROM: Preserve header valid bit on more commands
Fixes Goryuujin Electro hanging on boot.
This commit is contained in:
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user