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=67c020eeafd6d3db7f9d2c314a77990177a1c4ff;hp=909ca39018614a426ab1edc161cbc579c6efc448;hpb=e223fa15d18a141a26d73683d036d130cc5c6e8d;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;