mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-19 19:30:42 +00:00
fix cursor hotspot position
This commit is contained in:
parent
49bf3fcfa2
commit
450edd2852
@ -326,8 +326,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…
x
Reference in New Issue
Block a user