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

Comparing SheepShaver/src/gfxaccel.cpp (file contents):
Revision 1.3 by gbeauche, 2005-01-30T21:48:19Z vs.
Revision 1.4 by gbeauche, 2006-05-07T10:49:48Z

# Line 378 | Line 378 | bool NQD_bitblt_hook(uint32 p)
378                  ReadMacInt32(p + 0x130) == 0 &&
379                  ReadMacInt32(p + acclSrcPixelSize) >= 8 &&
380                  ReadMacInt32(p + acclSrcPixelSize) == ReadMacInt32(p + acclDestPixelSize) &&
381 <                (ReadMacInt32(p + acclSrcRowBytes) ^ ReadMacInt32(p + acclDestRowBytes)) >= 0 && // same sign?
382 <                ReadMacInt32(p + acclTransferMode) == 0 &&                                                                               // srcCopy?
383 <                ReadMacInt32(p + 0x15c) > 0) {
381 >                (int32)(ReadMacInt32(p + acclSrcRowBytes) ^ ReadMacInt32(p + acclDestRowBytes)) >= 0 && // same sign?
382 >                ReadMacInt32(p + acclTransferMode) == 0 &&                                                                                              // srcCopy?
383 >                (int32)ReadMacInt32(p + 0x15c) > 0) {
384  
385                  // Yes, set function pointer
386                  WriteMacInt32(p + acclDrawProc, NativeTVECT(NATIVE_BITBLT));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines