1 |
|
/* |
2 |
|
* adb.cpp - ADB emulation (mouse/keyboard) |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2002 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2004 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
388 |
|
r.a[0] = ReadMacInt32(mouse_base + 4); |
389 |
|
r.d[0] = mx; |
390 |
|
r.d[1] = my; |
391 |
< |
Execute68k((uint32)proc, &r); |
391 |
> |
Execute68k(Host2MacAddr((uint8 *)proc), &r); |
392 |
|
#else |
393 |
|
WriteMacInt16(0x82a, mx); |
394 |
|
WriteMacInt16(0x828, my); |