cdvd: cdvdRead08 is interrupt reason, not status

It seems there was a bad copy paste that caused PwOff to be changed to
Status in bc9e0b08ad.
This commit is contained in:
Jonathan Li 2016-12-17 16:46:39 +00:00
parent c2587abcea
commit 5c53708f43
1 changed files with 3 additions and 3 deletions

View File

@ -1048,9 +1048,9 @@ u8 cdvdRead(u8 key)
CDVD_LOG("cdvdRead07(Break) %x", 0); CDVD_LOG("cdvdRead07(Break) %x", 0);
return 0; return 0;
case 0x08: // STATUS case 0x08: // INTR_STAT
CDVD_LOG("cdvdRead08(Status) %x", cdvd.Status); CDVD_LOG("cdvdRead08(IntrReason) %x", cdvd.PwOff);
return cdvd.Status; return cdvd.PwOff;
case 0x0A: // STATUS case 0x0A: // STATUS
CDVD_LOG("cdvdRead0A(Status) %x", cdvd.Status); CDVD_LOG("cdvdRead0A(Status) %x", cdvd.Status);