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

Comparing SheepShaver/src/Unix/video_x.cpp (file contents):
Revision 1.22 by gbeauche, 2004-05-14T08:24:31Z vs.
Revision 1.23 by gbeauche, 2004-05-16T15:48:25Z

# Line 1889 | Line 1889 | void NQD_bitblt(uint32 p)
1889                  uint8 *src = Mac2HostAddr(ReadMacInt32(p + acclSrcBaseAddr) + (src_Y * src_row_bytes) + (src_X * bpp));
1890                  uint8 *dst = Mac2HostAddr(ReadMacInt32(p + acclDestBaseAddr) + (dest_Y * dst_row_bytes) + (dest_X * bpp));
1891                  for (int i = 0; i < height; i++) {
1892 <                        memcpy(dst, src, width);
1892 >                        memmove(dst, src, width);
1893                          src += src_row_bytes;
1894                          dst += dst_row_bytes;
1895                  }
# Line 1900 | Line 1900 | void NQD_bitblt(uint32 p)
1900                  uint8 *src = Mac2HostAddr(ReadMacInt32(p + acclSrcBaseAddr) + ((src_Y + height - 1) * src_row_bytes) + (src_X * bpp));
1901                  uint8 *dst = Mac2HostAddr(ReadMacInt32(p + acclDestBaseAddr) + ((dest_Y + height - 1) * dst_row_bytes) + (dest_X * bpp));
1902                  for (int i = height - 1; i >= 0; i--) {
1903 <                        memcpy(dst, src, width);
1903 >                        memmove(dst, src, width);
1904                          src -= src_row_bytes;
1905                          dst -= dst_row_bytes;
1906                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines