More Banshee host data size tweaking.
This commit is contained in:
parent
3040c4e994
commit
771c5c6ba3
1 changed files with 2 additions and 2 deletions
|
|
@ -564,10 +564,10 @@ static void banshee_do_host_to_screen_blt(voodoo_t *voodoo, int count, uint32_t
|
|||
int last_byte;
|
||||
|
||||
if ((voodoo->banshee_blt.srcFormat & SRC_FORMAT_COL_MASK) == SRC_FORMAT_COL_1_BPP)
|
||||
last_byte = (((voodoo->banshee_blt.srcX + 7) >> 3) & 3) + voodoo->banshee_blt.host_data_size_dest;
|
||||
last_byte = ((voodoo->banshee_blt.srcX & 31) + voodoo->banshee_blt.dstSizeX + 7) >> 3;
|
||||
else
|
||||
last_byte = (voodoo->banshee_blt.srcX & 3) + voodoo->banshee_blt.host_data_size_dest;
|
||||
|
||||
|
||||
*(uint32_t *)&voodoo->banshee_blt.host_data[voodoo->banshee_blt.host_data_count] = data;
|
||||
voodoo->banshee_blt.host_data_count += 4;
|
||||
if (voodoo->banshee_blt.host_data_count >= last_byte)
|
||||
|
|
|
|||
Loading…
Reference in a new issue