CDVD: fix logic bug introduced in ada80474

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2020-11-11 15:48:59 +01:00 committed by Kojin
parent a699e94b2b
commit 961715ab62
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ void cdrWrite1(u8 rt)
cdr.Mode = cdr.Param[0];
cdr.Ctrl |= 0x80;
cdr.Stat = NoIntr;
if (cdr.Mode && MODE_CDDA)
if (cdr.Mode & MODE_CDDA)
{
StopCdda();
cdvd.Type = CDVD_TYPE_CDDA;