GPU: Fix IRQ request

This commit is contained in:
Stenzek 2024-05-31 20:39:18 +10:00
parent 73136d7dc4
commit 627c12bebe
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -1261,6 +1261,7 @@ void GPU::WriteGP1(u32 value)
{
DEBUG_LOG("Acknowledge interrupt");
m_GPUSTAT.interrupt_request = false;
InterruptController::SetLineState(InterruptController::IRQ::GPU, false);
}
break;

View file

@ -210,7 +210,7 @@ bool GPU::HandleInterruptRequestCommand()
DEBUG_LOG("GP0 interrupt request");
m_GPUSTAT.interrupt_request = true;
InterruptController::SetLineState(InterruptController::IRQ::GPU, m_GPUSTAT.interrupt_request);
InterruptController::SetLineState(InterruptController::IRQ::GPU, true);
m_fifo.RemoveOne();
AddCommandTicks(1);