Fix error
This commit is contained in:
parent
987ef556e5
commit
5a375b9236
1 changed files with 2 additions and 2 deletions
|
@ -5248,12 +5248,12 @@ void SetSearchRectHighlight(u8 flags, u8 x, u8 y, u8 width)
|
|||
|
||||
temp &= 0xFFF;
|
||||
temp |= (flags << 12);
|
||||
*(u16 *)(ptr + (y*64 + (x + i)*2) = temp;
|
||||
*(u16 *)(ptr + (y*64 + (x + i)*2)) = temp;
|
||||
|
||||
temp = *(u16 *)(ptr + (y + 1)*64 + (x + i)*2);
|
||||
temp &= 0xFFF;
|
||||
temp |= (flags << 12);
|
||||
*(u16 *)(ptr + (y + 1)*64 + (x + i)*2) = temp;
|
||||
*(u16 *)(ptr + (y + 1)*64 + (x + i)*2)) = temp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue