# HG changeset patch # User TomW # Date 1411901332 -3600 # Node ID 096e27a8c67b7553293854b2ed54d194ea9a9ea8 # Parent 0710d7cb935f4f9cacac12cf3b063365e97451c6 Fixed PC1640 video timings, fixes hang on startup. diff -r 0710d7cb935f -r 096e27a8c67b src/vid_pc1640.c --- a/src/vid_pc1640.c Sun Sep 28 11:33:08 2014 +0100 +++ b/src/vid_pc1640.c Sun Sep 28 11:48:52 2014 +0100 @@ -79,15 +79,15 @@ void pc1640_recalctimings(pc1640_t *pc1640) { + cga_recalctimings(&pc1640->cga); + ega_recalctimings(&pc1640->ega); if (pc1640->cga_enabled) { - cga_recalctimings(&pc1640->cga); pc1640->dispontime = pc1640->cga.dispontime; pc1640->dispofftime = pc1640->cga.dispofftime; } else { - ega_recalctimings(&pc1640->ega); pc1640->dispontime = pc1640->ega.dispontime; pc1640->dispofftime = pc1640->ega.dispofftime; }