1. wahrhaft
  2. mupen64plus-video-glide64mk2

Commits

ecsv  committed 6d1f4f5

Fix generation of DP interrupts

  • Participants
  • Parent commits 25f4611
  • Branches default

Comments (0)

Files changed (1)

File src/Glide64/rdp.cpp

View file
 
 EXPORT void CALL ProcessDList(void)
 {
+  // TODO add SoftLocker
+  //SoftLocker lock(mutexProcessDList);
+  //if (!lock.IsOk()) //mutex is busy
+  if (0)
   {
     if (!fullscreen)
       drawNoFullscreenMessage();
     // Set an interrupt to allow the game to continue
     *gfx.MI_INTR_REG |= 0x20;
     gfx.CheckInterrupts();
+    return;
   }
 
   no_dlist = false;
   LOG ("ProcessRDPList ()\n");
   LRDP("ProcessRDPList ()\n");
 
+  // TODO add SoftLocker
+  //SoftLocker lock(mutexProcessDList);
+  //if (!lock.IsOk()) //mutex is busy
+  if (0)
   {
     if (!fullscreen)
       drawNoFullscreenMessage();
     // Set an interrupt to allow the game to continue
     *gfx.MI_INTR_REG |= 0x20;
     gfx.CheckInterrupts();
-    //return;
+    return;
   }
 
   wxUint32 i;