Don't trash a list the GE interrupt handler needs.

Even after it's marked COMPLETED, the CPU needs it to start and finish the
interrupt.  Fixes #2956, where an existing completed list was not having
its interrupt run correctly.
This commit is contained in:
Unknown W. Brackets committed 2013-09-01 12:39:45 -07:00
1 parent cfbf83eeab
commit 8998a1b303
3 files changed
+23 -5

No files matched your search

+10
View File
@@ -55,6 +55,11 @@ public:
{
GeInterruptData intrdata = ge_pending_cb.front();
DisplayList* dl = gpu->getList(intrdata.listid);
if (!dl->interruptsEnabled)
{
ERROR_LOG_REPORT(HLE, "Unable to run GE interrupt: list has interrupts disabled, should not happen");
return false;
}
if (dl == NULL)
{
@@ -120,6 +125,11 @@ public:
ge_pending_cb.pop_front();
DisplayList* dl = gpu->getList(intrdata.listid);
if (!dl->interruptsEnabled)
{
ERROR_LOG_REPORT(HLE, "Unable to finish GE interrupt: list has interrupts disabled, should not happen");
return;
}
switch (dl->signal)
{