Merge pull request #23 from zydeco/rootless

Fix cursor hotspot position
This commit is contained in:
kanjitalk755 2020-01-18 19:30:38 +09:00 committed by GitHub
commit f5cb20ab31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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++) {