Revision 3b46e624 hw/vga_template.h

b/hw/vga_template.h
73 73
                                          uint32_t fgcol, uint32_t bgcol)
74 74
{
75 75
    uint32_t font_data, xorcol;
76
   
76

  
77 77
    xorcol = bgcol ^ fgcol;
78 78
    do {
79 79
        font_data = font_ptr[0];
......
88 88
                                          uint32_t fgcol, uint32_t bgcol)
89 89
{
90 90
    uint32_t font_data, xorcol;
91
   
91

  
92 92
    xorcol = bgcol ^ fgcol;
93 93
    do {
94 94
        font_data = font_ptr[0];
......
108 108
                                          uint32_t fgcol, uint32_t bgcol, int dup9)
109 109
{
110 110
    uint32_t font_data, xorcol, v;
111
   
111

  
112 112
    xorcol = bgcol ^ fgcol;
113 113
    do {
114 114
        font_data = font_ptr[0];
......
120 120
            ((uint8_t *)d)[8] = v >> (24 * (1 - BIG));
121 121
        else
122 122
            ((uint8_t *)d)[8] = bgcol;
123
       
123

  
124 124
#elif BPP == 2
125 125
        cpu_to_32wu(((uint32_t *)d)+0, (dmask4[(font_data >> 6)] & xorcol) ^ bgcol);
126 126
        cpu_to_32wu(((uint32_t *)d)+1, (dmask4[(font_data >> 4) & 3] & xorcol) ^ bgcol);
......
433 433
        s += 2;
434 434
        d += BPP;
435 435
    } while (--w != 0);
436
#endif   
436
#endif
437 437
}
438 438

  
439 439
/*
......
458 458
        s += 2;
459 459
        d += BPP;
460 460
    } while (--w != 0);
461
#endif   
461
#endif
462 462
}
463 463

  
464 464
/*

Also available in: Unified diff