1238 |
|
{ |
1239 |
|
// In classic mode, copy the frame buffer from Mac RAM |
1240 |
|
if (classic_mode) |
1241 |
< |
memcpy(the_buffer, Mac2HostAddr(0x3fa700), VideoMonitor.bytes_per_row * VideoMonitor.y); |
1241 |
> |
Mac2Host_memcpy(the_buffer, 0x3fa700, VideoMonitor.bytes_per_row * VideoMonitor.y); |
1242 |
|
|
1243 |
|
// Incremental update code |
1244 |
|
int wide = 0, high = 0, x1, x2, y1, y2, i, j; |
1358 |
|
|
1359 |
|
// Set new cursor image if it was changed |
1360 |
|
if (memcmp(the_cursor, Mac2HostAddr(0x844), 64)) { |
1361 |
< |
memcpy(the_cursor, Mac2HostAddr(0x844), 64); |
1361 |
> |
Mac2Host_memcpy(the_cursor, 0x844, 64); |
1362 |
|
memcpy(cursor_image->data, the_cursor, 32); |
1363 |
|
memcpy(cursor_mask_image->data, the_cursor+32, 32); |
1364 |
|
XFreeCursor(x_display, mac_cursor); |