mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-24 11:30:52 +00:00
Merge pull request #23 from zydeco/rootless
Fix cursor hotspot position
This commit is contained in:
commit
f5cb20ab31
@ -327,8 +327,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
Block a user