mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #6143 from unknownbrackets/gpu-minor
Don't block duplicate enqueues when intr pending
This commit is contained in:
commit
4873c5c44a
1 changed files with 3 additions and 1 deletions
|
@ -214,7 +214,9 @@ u32 GPUCommon::EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer<Ps
|
|||
//stack = NULL;
|
||||
for (int i = 0; i < DisplayListMaxCount; ++i) {
|
||||
if (dls[i].state != PSP_GE_DL_STATE_NONE && dls[i].state != PSP_GE_DL_STATE_COMPLETED) {
|
||||
if (dls[i].pc == listpc) {
|
||||
// Logically, if the CPU has not interrupted yet, it hasn't seen the latest pc either.
|
||||
// Exit enqueues right after an END, which fails without ignoring pendingInterrupt lists.
|
||||
if (dls[i].pc == listpc && !dls[i].pendingInterrupt) {
|
||||
ERROR_LOG(G3D, "sceGeListEnqueue: can't enqueue, list address %08X already used", listpc);
|
||||
return 0x80000021;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue