cdvd: Set the data ready flag after a finished transfer

Fixes a black screen loading issue in Street Fighter EX3 (NTSC-J).
This commit is contained in:
Jonathan Li 2016-12-18 16:18:51 +00:00
parent 5c53708f43
commit f441efd776
1 changed files with 3 additions and 1 deletions

View File

@ -890,7 +890,9 @@ __fi void cdvdReadInterrupt()
if (--cdvd.nSectors <= 0)
{
cdvd.PwOff |= 1<<Irq_CommandComplete;
// Setting the data ready flag fixes a black screen loading issue in
// Street Fighter Ex3 (NTSC-J version).
cdvd.PwOff |= (1 << Irq_DataReady) | (1 << Irq_CommandComplete);
psxHu32(0x1070)|= 0x4;
HW_DMA3_CHCR &= ~0x01000000;