fix cursor hotspot position
This commit is contained in:
parent
49bf3fcfa2
commit
450edd2852
|
@ -326,8 +326,8 @@ static SDL_Rect MaskCursor() {
|
|||
// cursor data
|
||||
uint16 *TheCrsr = (uint16*)Mac2HostAddr(0x0844);
|
||||
// hotspot
|
||||
uint16 hx = ntohs(TheCrsr[32]);
|
||||
uint16 hy = ntohs(TheCrsr[33]);
|
||||
uint16 hx = ntohs(TheCrsr[33]);
|
||||
uint16 hy = ntohs(TheCrsr[32]);
|
||||
|
||||
// apply mask
|
||||
for (int i=0; i < 16; i++) {
|
||||
|
|
Loading…
Reference in New Issue