PCem

changeset 166:096e27a8c67b

Fixed PC1640 video timings, fixes hang on startup.
author TomW
date Sun Sep 28 11:48:52 2014 +0100
parents 0710d7cb935f
children 1dda97300a32
files src/vid_pc1640.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/src/vid_pc1640.c	Sun Sep 28 11:33:08 2014 +0100
     1.2 +++ b/src/vid_pc1640.c	Sun Sep 28 11:48:52 2014 +0100
     1.3 @@ -79,15 +79,15 @@
     1.4  
     1.5  void pc1640_recalctimings(pc1640_t *pc1640)
     1.6  {
     1.7 +        cga_recalctimings(&pc1640->cga);
     1.8 +        ega_recalctimings(&pc1640->ega);
     1.9          if (pc1640->cga_enabled) 
    1.10          {
    1.11 -                cga_recalctimings(&pc1640->cga);
    1.12                  pc1640->dispontime  = pc1640->cga.dispontime;
    1.13                  pc1640->dispofftime = pc1640->cga.dispofftime;
    1.14          }
    1.15          else            
    1.16          {
    1.17 -                ega_recalctimings(&pc1640->ega);
    1.18                  pc1640->dispontime  = pc1640->ega.dispontime;
    1.19                  pc1640->dispofftime = pc1640->ega.dispofftime;
    1.20          }