mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 08:35:42 -04:00
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");
|
DEBUG_LOG("Acknowledge interrupt");
|
||||||
m_GPUSTAT.interrupt_request = false;
|
m_GPUSTAT.interrupt_request = false;
|
||||||
|
InterruptController::SetLineState(InterruptController::IRQ::GPU, false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ bool GPU::HandleInterruptRequestCommand()
|
|||||||
DEBUG_LOG("GP0 interrupt request");
|
DEBUG_LOG("GP0 interrupt request");
|
||||||
|
|
||||||
m_GPUSTAT.interrupt_request = true;
|
m_GPUSTAT.interrupt_request = true;
|
||||||
InterruptController::SetLineState(InterruptController::IRQ::GPU, m_GPUSTAT.interrupt_request);
|
InterruptController::SetLineState(InterruptController::IRQ::GPU, true);
|
||||||
|
|
||||||
m_fifo.RemoveOne();
|
m_fifo.RemoveOne();
|
||||||
AddCommandTicks(1);
|
AddCommandTicks(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user