Always trigger FINISH and SIGNAL from END.

This commit is contained in:
Unknown W. Brackets 2013-04-03 08:15:49 -07:00
parent cd246d27c3
commit 15cb005a60
2 changed files with 5 additions and 8 deletions

View file

@ -58,7 +58,7 @@ public:
gpu->InterruptStart();
u32 cmd = Memory::ReadUnchecked_U32(intrdata.pc) >> 24;
u32 cmd = Memory::ReadUnchecked_U32(intrdata.pc - 4) >> 24;
int subintr = intrdata.subIntrBase | (cmd == GE_CMD_FINISH ? PSP_GE_SUBINTR_FINISH : PSP_GE_SUBINTR_SIGNAL);
SubIntrHandler* handler = get(subintr);