~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/vicii/vicii.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2006-07-30 19:15:59 UTC
  • mto: (9.1.1 lenny) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060730191559-g31ymd2mk102kzff
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
666
666
    } else if (tmp < VICII_SCREEN_TEXTCOLS) {
667
667
        if (vicii.screen_base_phi2 != old_screen_ptr) {
668
668
            raster_changes_foreground_add_ptr(&vicii.raster, tmp,
669
 
                                              (void **)&vicii.screen_ptr,
 
669
                                              (void *)&vicii.screen_ptr,
670
670
                                              (void *)vicii.screen_base_phi2);
671
671
            old_screen_ptr = vicii.screen_base_phi2;
672
672
        }
674
674
        if (bitmap_low_base != old_bitmap_low_ptr) {
675
675
            raster_changes_foreground_add_ptr(&vicii.raster,
676
676
                                              tmp,
677
 
                                              (void **)&vicii.bitmap_low_ptr,
 
677
                                              (void *)&vicii.bitmap_low_ptr,
678
678
                                              (void *)(bitmap_low_base));
679
679
            old_bitmap_low_ptr = bitmap_low_base;
680
680
        }
682
682
        if (bitmap_high_base != old_bitmap_high_ptr) {
683
683
            raster_changes_foreground_add_ptr(&vicii.raster,
684
684
                                              tmp,
685
 
                                              (void **)&vicii.bitmap_high_ptr,
 
685
                                              (void *)&vicii.bitmap_high_ptr,
686
686
                                              (void *)(bitmap_high_base));
687
687
            old_bitmap_high_ptr = bitmap_high_base;
688
688
        }
690
690
        if (char_base != old_chargen_ptr) {
691
691
            raster_changes_foreground_add_ptr(&vicii.raster,
692
692
                                              tmp,
693
 
                                              (void **)&vicii.chargen_ptr,
 
693
                                              (void *)&vicii.chargen_ptr,
694
694
                                              (void *)char_base);
695
695
            old_chargen_ptr = char_base;
696
696
        }
705
705
    } else {
706
706
        if (vicii.screen_base_phi2 != old_screen_ptr) {
707
707
            raster_changes_next_line_add_ptr(&vicii.raster,
708
 
                                             (void **)&vicii.screen_ptr,
 
708
                                             (void *)&vicii.screen_ptr,
709
709
                                             (void *)vicii.screen_base_phi2);
710
710
            old_screen_ptr = vicii.screen_base_phi2;
711
711
        }
712
712
 
713
713
        if (bitmap_low_base != old_bitmap_low_ptr) {
714
714
            raster_changes_next_line_add_ptr(&vicii.raster,
715
 
                                             (void **)&vicii.bitmap_low_ptr,
 
715
                                             (void *)&vicii.bitmap_low_ptr,
716
716
                                             (void *)(bitmap_low_base));
717
717
            old_bitmap_low_ptr = bitmap_low_base;
718
718
        }
719
719
 
720
720
        if (bitmap_high_base != old_bitmap_high_ptr) {
721
721
            raster_changes_next_line_add_ptr(&vicii.raster,
722
 
                                             (void **)&vicii.bitmap_high_ptr,
 
722
                                             (void *)&vicii.bitmap_high_ptr,
723
723
                                             (void *)(bitmap_high_base));
724
724
            old_bitmap_high_ptr = bitmap_high_base;
725
725
        }
726
726
 
727
727
        if (char_base != old_chargen_ptr) {
728
728
            raster_changes_next_line_add_ptr(&vicii.raster,
729
 
                                             (void **)&vicii.chargen_ptr,
 
729
                                             (void *)&vicii.chargen_ptr,
730
730
                                             (void *)char_base);
731
731
            old_chargen_ptr = char_base;
732
732
        }