1 if (flags & FLAGS_READMODIFY)
3 if (flags & FLAGS_HFLIP)
5 if (flags & FLAGS_TRANSPARENT)
9 uint16 c = jaguar_byte_read(ptr + ((cnt >> 16) << 1) + 0);
11 c |= jaguar_byte_read(ptr + ((cnt >> 16) << 1) + 1);
14 *current_line_buffer-- = BLEND_Y(*current_line_buffer, c >> 8);
15 *current_line_buffer-- = BLEND_CC(*current_line_buffer, c & 0xFF);
18 current_line_buffer -= 2;
27 *current_line_buffer-- = BLEND_Y(*current_line_buffer, jaguar_byte_read(ptr+((cnt>>16)<<1)+0));
28 *current_line_buffer-- = BLEND_CC(*current_line_buffer, jaguar_byte_read(ptr+((cnt>>16)<<1)+1));
36 if (flags&FLAGS_TRANSPARENT)
40 uint16 c=jaguar_byte_read(ptr+((cnt>>16)<<1)+0);;
42 c|=jaguar_byte_read(ptr+((cnt>>16)<<1)+1);
45 *current_line_buffer++=BLEND_Y(*current_line_buffer,(c>>8));
46 *current_line_buffer++=BLEND_CC(*current_line_buffer,(c&0xff));
49 current_line_buffer+=2;
58 *current_line_buffer++=BLEND_Y(*current_line_buffer,jaguar_byte_read(ptr+((cnt>>16)<<1)+0));
59 *current_line_buffer++=BLEND_CC(*current_line_buffer,jaguar_byte_read(ptr+((cnt>>16)<<1)+1));
68 if (flags&FLAGS_HFLIP)
70 if (flags&FLAGS_TRANSPARENT)
74 uint16 c=jaguar_byte_read(ptr+((cnt>>16)<<1)+0);;
76 c|=jaguar_byte_read(ptr+((cnt>>16)<<1)+1);
79 *current_line_buffer--=(c>>8);
80 *current_line_buffer--=(c&0xff);
83 current_line_buffer-=2;
92 *current_line_buffer--=jaguar_byte_read(ptr+((cnt>>16)<<1)+0);
93 *current_line_buffer--=jaguar_byte_read(ptr+((cnt>>16)<<1)+1);
101 if (flags & FLAGS_TRANSPARENT)
105 uint16 c = jaguar_byte_read(ptr + ((cnt >> 16) << 1) + 0);
107 c |= jaguar_byte_read(ptr + ((cnt >> 16) << 1) + 1);
110 *current_line_buffer++ = c >> 8;
111 *current_line_buffer++ = c & 0xFF;
114 current_line_buffer += 2;
123 *current_line_buffer++ = jaguar_byte_read(ptr + ((cnt >> 16) << 1) + 0);
124 *current_line_buffer++ = jaguar_byte_read(ptr + ((cnt >> 16) << 1) + 1);