From b3db94096d7e5b4f60d610a441e370d639b3fd06 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 20 Dec 2011 02:38:53 +0200 Subject: gpu_unai: add 4bpp asm sprite blitter --- plugins/gpu_unai/gpu_command.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'plugins/gpu_unai/gpu_command.h') 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) -- cgit v1.2.3