Fix RGBT 5:5:5 drawing on pxa2xx lcd (Lars Munch)
This patch fixes the misinterpretaion of the transparency bit for RGBT 5:5:5 mode on pxa2xx LCDC. Signed-off-by: Lars Munch <lars@segv.dk> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5605 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									1bcee01487
								
							
						
					
					
						commit
						abbaab5c6d
					
				| 
						 | 
				
			
			@ -156,6 +156,7 @@ static void glue(pxa2xx_draw_line16t_, BITS)(uint32_t *palette,
 | 
			
		|||
        g = (data & 0x1f) << 3;
 | 
			
		||||
        data >>= 5;
 | 
			
		||||
        r = (data & 0x1f) << 3;
 | 
			
		||||
        data >>= 5;
 | 
			
		||||
        if (data & 1)
 | 
			
		||||
            SKIP_PIXEL(dest);
 | 
			
		||||
        else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue