mirror of https://github.com/PCSX2/pcsx2.git
IPU: Set ECD if start code is not 1xx
Onimusha 3 send 0x200 and expect that start code search finish on it. Setting ECD here helps The Sims Bustin' Out
This commit is contained in:
parent
37f640ece2
commit
5469d59de9
|
@ -938,13 +938,20 @@ finish_idec:
|
|||
return false;
|
||||
}
|
||||
start_check = UBITS(24);
|
||||
if (start_check != 0)
|
||||
{
|
||||
if (start_check == 1)
|
||||
{
|
||||
ipuRegs.ctrl.SCD = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
ipuRegs.ctrl.ECD = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
DUMPBITS(8);
|
||||
} while (start_check != 1);
|
||||
} while (1);
|
||||
}
|
||||
}
|
||||
[[fallthrough]];
|
||||
|
@ -1229,13 +1236,20 @@ __fi bool mpeg2_slice()
|
|||
return false;
|
||||
}
|
||||
start_check = UBITS(24);
|
||||
if (start_check != 0)
|
||||
{
|
||||
if (start_check == 1)
|
||||
{
|
||||
ipuRegs.ctrl.SCD = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
ipuRegs.ctrl.ECD = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
DUMPBITS(8);
|
||||
} while (start_check != 1);
|
||||
} while (1);
|
||||
}
|
||||
}
|
||||
[[fallthrough]];
|
||||
|
|
Loading…
Reference in New Issue