IPU: Fix software renderer FMV hack without AR change

This commit is contained in:
Connor McLaughlin 2022-01-06 18:32:41 +10:00 committed by refractionpcsx2
parent 299edae7c0
commit 1dbc11bdd5
1 changed files with 8 additions and 9 deletions

View File

@ -431,17 +431,16 @@ static __ri void ipuBDEC(tIPU_CMD_BDEC bdec)
static __fi bool ipuVDEC(u32 val)
{
if (EmuConfig.GS.FMVAspectRatioSwitch != FMVAspectRatioSwitchType::Off) {
static int count = 0;
if (count++ > 5) {
if (!FMVstarted) {
EnableFMV = true;
FMVstarted = true;
}
count = 0;
static int count = 0;
if (count++ > 5) {
if (!FMVstarted) {
EnableFMV = true;
FMVstarted = true;
}
eecount_on_last_vdec = cpuRegs.cycle;
count = 0;
}
eecount_on_last_vdec = cpuRegs.cycle;
switch (ipu_cmd.pos[0])
{
case 0: