From f41e5da94b0a8473d5ffef1d6dfa36eb3a8fdefb Mon Sep 17 00:00:00 2001 From: Robert Neumann Date: Thu, 28 Jun 2018 18:08:10 +0200 Subject: [PATCH] IOP: VBlank handler small fix --- pcsx2/IopCounters.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/IopCounters.cpp b/pcsx2/IopCounters.cpp index e79afc5edf..894bc50350 100644 --- a/pcsx2/IopCounters.cpp +++ b/pcsx2/IopCounters.cpp @@ -415,14 +415,14 @@ static void psxCheckEndGate32(int i) void psxVBlankStart() { cdvdVsync(); - psxHu32(0x1070) |= 1; + iopIntcIrq(0); if(psxvblankgate & (1 << 1)) psxCheckStartGate16(1); if(psxvblankgate & (1 << 3)) psxCheckStartGate32(3); } void psxVBlankEnd() { - psxHu32(0x1070) |= 0x800; + iopIntcIrq(11); if(psxvblankgate & (1 << 1)) psxCheckEndGate16(1); if(psxvblankgate & (1 << 3)) psxCheckEndGate32(3); }