]> git.ipfire.org Git - thirdparty/qemu.git/commit
sm501: Use values from the pitch register for 2D operations
authorSebastian Bauer <mail@sebastianbauer.info>
Wed, 4 Jul 2018 09:40:58 +0000 (11:40 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 7 Jul 2018 02:12:27 +0000 (12:12 +1000)
commit54b2a4339ccae45d4264c2437978abd04ff82bca
tree5ff576371860cb22f4eba0a056b48e4463be462b
parentd27335592a187de0ba77894b522025827907038c
sm501: Use values from the pitch register for 2D operations

Before, crt_h_total was used for src_width and dst_width. This is a
property of the current display setting and not relevant for the 2D
operation that also can be done off-screen. The pitch register's purpose
is to describe line pitch relevant of the 2D operation.

Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/display/sm501.c