tcx: remove TARGET_PAGE_SIZE from tcx_update_display()
commit0a97c6c4f938e0be21546f9475b30953b25187f0
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 5 Apr 2017 08:02:47 +0000 (5 09:02 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 21 Apr 2017 08:02:04 +0000 (21 09:02 +0100)
tree33e6fcb9ef511fa59b4e9d1d5dae48a1c2623987
parent66dcabea477bed6dcaddce499f024b9bb921a598
tcx: remove TARGET_PAGE_SIZE from tcx_update_display()

Now that page alignment is handled by the memory API, there is no need to
duplicate the code 4 times (4 * 1024 == 4096 == TARGET_PAGE_SIZE).

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/tcx.c