X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpu_unai%2Fgpu_raster_image.h;h=7c9eb4d920ef1aff7c2f0fe2d97bdc83694e37ef;hb=427a3f291dc6cc8247425983b0c94f21286612d9;hp=909ca39018614a426ab1edc161cbc579c6efc448;hpb=90ac6fed274c1d573a971c66f8a1338e8918f066;p=pcsx_rearmed.git diff --git a/plugins/gpu_unai/gpu_raster_image.h b/plugins/gpu_unai/gpu_raster_image.h index 909ca390..7c9eb4d9 100644 --- a/plugins/gpu_unai/gpu_raster_image.h +++ b/plugins/gpu_unai/gpu_raster_image.h @@ -160,7 +160,7 @@ void gpuClearImage(PtrUnion packet) x0 = le16_to_s16(packet.U2[2]); y0 = le16_to_s16(packet.U2[3]); w0 = le16_to_s16(packet.U2[4]) & 0x3ff; - h0 = le16_to_s16(packet.U2[5]) & 0x3ff; + h0 = le16_to_s16(packet.U2[5]) & 0x1ff; w0 += x0; if (x0 < 0) x0 = 0;