Commits

ecsv committed 6d1f4f5

Fix generation of DP interrupts

Comments (0)

Files changed (1)

src/Glide64/rdp.cpp

 
 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;