mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-28 08:49:32 +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
|
// cursor data
|
||||||
uint16 *TheCrsr = (uint16*)Mac2HostAddr(0x0844);
|
uint16 *TheCrsr = (uint16*)Mac2HostAddr(0x0844);
|
||||||
// hotspot
|
// hotspot
|
||||||
uint16 hx = ntohs(TheCrsr[32]);
|
uint16 hx = ntohs(TheCrsr[33]);
|
||||||
uint16 hy = ntohs(TheCrsr[33]);
|
uint16 hy = ntohs(TheCrsr[32]);
|
||||||
|
|
||||||
// apply mask
|
// apply mask
|
||||||
for (int i=0; i < 16; i++) {
|
for (int i=0; i < 16; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user