mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
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:
1 parent
cfbf83eeab
commit
8998a1b303
3 files changed
+23
-5
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user