gpu_neon: make use of unai's lineskip mode
[pcsx_rearmed.git] / plugins / gpu_unai / gpu_command.h
index 2dc7f5b..d380dae 100644 (file)
@@ -373,7 +373,9 @@ void gpuSendPacketFunction(const int PRIM)
                        break;
                case 0xA0:          //  sys ->vid
                        gpuLoadImage();   //  prim handles updateLace && skip
+#ifndef isSkip // not a define
                        if (alt_fps) isSkip=false;
+#endif
                        DO_LOG(("gpuLoadImage(0x%x)\n",PRIM));
                        break;
                case 0xC0:          //  vid -> sys
@@ -400,7 +402,7 @@ void gpuSendPacketFunction(const int PRIM)
                                TextureWindow[2] = TextureMask[(temp >> 0) & 0x1F];
                                TextureWindow[3] = TextureMask[(temp >> 5) & 0x1F];
                                gpuSetTexture(GPU_GP1);
-                               isSkip = false;
+                               //isSkip = false;
                                DO_LOG(("TextureWindow(0x%x)\n",PRIM));
                        }
                        break;
@@ -409,7 +411,7 @@ void gpuSendPacketFunction(const int PRIM)
                                const u32 temp = PacketBuffer.U4[0];
                                DrawingArea[0] = temp         & 0x3FF;
                                DrawingArea[1] = (temp >> 10) & 0x3FF;
-                               isSkip = false;
+                               //isSkip = false;
                                DO_LOG(("DrawingArea_Pos(0x%x)\n",PRIM));
                        }
                        break;
@@ -418,7 +420,7 @@ void gpuSendPacketFunction(const int PRIM)
                                const u32 temp = PacketBuffer.U4[0];
                                DrawingArea[2] = (temp         & 0x3FF) + 1;
                                DrawingArea[3] = ((temp >> 10) & 0x3FF) + 1;
-                               isSkip = false;
+                               //isSkip = false;
                                DO_LOG(("DrawingArea_Size(0x%x)\n",PRIM));
                        }
                        break;
@@ -427,7 +429,7 @@ void gpuSendPacketFunction(const int PRIM)
                                const u32 temp = PacketBuffer.U4[0];
                                DrawingOffset[0] = ((long)temp<<(32-11))>>(32-11);
                                DrawingOffset[1] = ((long)temp<<(32-22))>>(32-11);
-                               isSkip = false;
+                               //isSkip = false;
                                DO_LOG(("DrawingOffset(0x%x)\n",PRIM));
                        }
                        break;