GPU: Fix IRQ request
This commit is contained in:
parent
73136d7dc4
commit
627c12bebe
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue