tcx: remove TARGET_PAGE_SIZE from tcx24_update_display()
commitd18e101225a83a5fa3a8dd9938a115ca2f06ca83
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)
treed64eea1e4fccb46cda9753a733082b5d3273296a
parent0a97c6c4f938e0be21546f9475b30953b25187f0
tcx: remove TARGET_PAGE_SIZE from tcx24_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).

Finally we have now removed all traces of 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