notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #12 from notaz/for_libretro
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
gpu_command.h
diff --git
a/plugins/gpu_unai/gpu_command.h
b/plugins/gpu_unai/gpu_command.h
index
a5b61b6
..
049b146
100644
(file)
--- a/
plugins/gpu_unai/gpu_command.h
+++ b/
plugins/gpu_unai/gpu_command.h
@@
-352,6
+352,16
@@
void gpuSendPacketFunction(const int PRIM)
break;
case 0x7C:
case 0x7D:
break;
case 0x7C:
case 0x7D:
+#ifdef __arm__
+ if ((GPU_GP1 & 0x180) == 0 && (Masking | PixelMSB) == 0)
+ {
+ gpuSetCLUT (PacketBuffer.U4[2] >> 16);
+ gpuSetTexture (GPU_GP1);
+ gpuDrawS16();
+ break;
+ }
+ // fallthrough
+#endif
case 0x7E:
case 0x7F:
if (!isSkip)
case 0x7E:
case 0x7F:
if (!isSkip)
@@
-373,7
+383,9
@@
void gpuSendPacketFunction(const int PRIM)
break;
case 0xA0: // sys ->vid
gpuLoadImage(); // prim handles updateLace && skip
break;
case 0xA0: // sys ->vid
gpuLoadImage(); // prim handles updateLace && skip
+#ifndef isSkip // not a define
if (alt_fps) isSkip=false;
if (alt_fps) isSkip=false;
+#endif
DO_LOG(("gpuLoadImage(0x%x)\n",PRIM));
break;
case 0xC0: // vid -> sys
DO_LOG(("gpuLoadImage(0x%x)\n",PRIM));
break;
case 0xC0: // vid -> sys