aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/gpu_command.h
diff options
context:
space:
mode:
authornotaz2011-12-20 02:38:53 +0200
committernotaz2011-12-20 23:40:51 +0200
commitb3db94096d7e5b4f60d610a441e370d639b3fd06 (patch)
tree2b8d0aa0d4e2a07b36cb21b3725b79e2b6990f72 /plugins/gpu_unai/gpu_command.h
parent89c0de4234815e0fa9e8399b940ecec6c89a062b (diff)
downloadpcsx_rearmed-b3db94096d7e5b4f60d610a441e370d639b3fd06.tar.gz
pcsx_rearmed-b3db94096d7e5b4f60d610a441e370d639b3fd06.tar.bz2
pcsx_rearmed-b3db94096d7e5b4f60d610a441e370d639b3fd06.zip
gpu_unai: add 4bpp asm sprite blitter
Diffstat (limited to 'plugins/gpu_unai/gpu_command.h')
-rw-r--r--plugins/gpu_unai/gpu_command.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/gpu_unai/gpu_command.h b/plugins/gpu_unai/gpu_command.h
index d380dae..049b146 100644
--- 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:
+#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)