mirror of https://github.com/PCSX2/pcsx2.git
IOP: VBlank handler small fix
This commit is contained in:
parent
7761ec5584
commit
f41e5da94b
|
@ -415,14 +415,14 @@ static void psxCheckEndGate32(int i)
|
||||||
void psxVBlankStart()
|
void psxVBlankStart()
|
||||||
{
|
{
|
||||||
cdvdVsync();
|
cdvdVsync();
|
||||||
psxHu32(0x1070) |= 1;
|
iopIntcIrq(0);
|
||||||
if(psxvblankgate & (1 << 1)) psxCheckStartGate16(1);
|
if(psxvblankgate & (1 << 1)) psxCheckStartGate16(1);
|
||||||
if(psxvblankgate & (1 << 3)) psxCheckStartGate32(3);
|
if(psxvblankgate & (1 << 3)) psxCheckStartGate32(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
void psxVBlankEnd()
|
void psxVBlankEnd()
|
||||||
{
|
{
|
||||||
psxHu32(0x1070) |= 0x800;
|
iopIntcIrq(11);
|
||||||
if(psxvblankgate & (1 << 1)) psxCheckEndGate16(1);
|
if(psxvblankgate & (1 << 1)) psxCheckEndGate16(1);
|
||||||
if(psxvblankgate & (1 << 3)) psxCheckEndGate32(3);
|
if(psxvblankgate & (1 << 3)) psxCheckEndGate32(3);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue