GPU: Moved SignalInterrupt.

Changed based on empirical evidence. Fixes ZMM and seems fine on other games.
This commit is contained in:
bunnei 2015-02-18 17:30:50 -05:00 committed by Darius Goad
parent 0980ae1a1c
commit 5ea57436ab
2 changed files with 1 additions and 1 deletions

View File

@ -228,6 +228,7 @@ inline void Write(u32 addr, const T data) {
{ {
u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress())); u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress()));
Pica::CommandProcessor::ProcessCommandList(buffer, config.size); Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::P3D);
} }
break; break;
} }

View File

@ -46,7 +46,6 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) {
switch(id) { switch(id) {
// Trigger IRQ // Trigger IRQ
case PICA_REG_INDEX(trigger_irq): case PICA_REG_INDEX(trigger_irq):
GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::P3D);
return; return;
// It seems like these trigger vertex rendering // It seems like these trigger vertex rendering