ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/video_x.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/video_x.cpp (file contents):
Revision 1.10 by cebix, 1999-10-25T20:22:35Z vs.
Revision 1.11 by cebix, 1999-11-03T10:56:30Z

# Line 1238 | Line 1238 | static void update_display(void)
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;
# Line 1358 | Line 1358 | static void update_display(void)
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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines