summaryrefslogtreecommitdiffstats
path: root/hw/dma/puv3_dma.c
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-03-11 11:05:04 +0100
committerLaurent Vivier2021-03-16 21:41:37 +0100
commit82ff856fe7f6bc6dfba2c60ba6ec24e045696562 (patch)
treeea34bc8c6c58cf4d2c44bb85a54e35bc349464af /hw/dma/puv3_dma.c
parentmac_via: rename VBL timer to 60Hz timer (diff)
downloadqemu-82ff856fe7f6bc6dfba2c60ba6ec24e045696562.tar.gz
qemu-82ff856fe7f6bc6dfba2c60ba6ec24e045696562.tar.xz
qemu-82ff856fe7f6bc6dfba2c60ba6ec24e045696562.zip
mac_via: fix 60Hz VIA1 timer interval
The 60Hz timer is initialised using timer_new_ns() meaning that the timer interval should be measured in ns, and therefore its period is a thousand times too short. Use a define for the 60Hz timer period taking the more precise value as documented in the Guide To The Macintosh Family Hardware. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <20210311100505.22596-7-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/dma/puv3_dma.c')
0 files changed, 0 insertions, 0 deletions