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

Comparing SheepShaver/src/rsrc_patches.cpp (file contents):
Revision 1.20 by gbeauche, 2006-05-06T09:23:28Z vs.
Revision 1.21 by gbeauche, 2006-05-08T23:32:58Z

# Line 579 | Line 579 | void CheckLoad(uint32 type, int16 id, ui
579                          p[(base + 0x1a) >> 1] = htons(0x6064);
580                          D(bug(" patch1 applied\n"));
581                  }
582 +
583 +        } else if (type == FOURCC('i','n','f','n') && (id == 129 || id == 200)) {
584 +                D(bug("infn %d found\n", id));
585 +                size >>= 1;
586 +                while (size--) {
587 +                        if (PM(0,0x203c) && PM(1,0xf800) && PM(2,0x0000) && PM(4,0x2040) && PM(5,0x1028) && PM(6,0x0090)) {
588 +                                // Don't read from 0xf8000090 during MacOS (8.5, 9.0) installation
589 +                                p[0] = htons(M68K_NOP);
590 +                                p[1] = htons(M68K_NOP);
591 +                                p[2] = htons(M68K_NOP);
592 +                                p[3] = htons(M68K_NOP);
593 +                                p[4] = htons(M68K_NOP);
594 +                                p[5] = htons(M68K_NOP);
595 +                                p[6] = htons(0x7000);   // moveq #0,d0
596 +                                D(bug(" patch 1 applied\n"));
597 +                                break;
598 +                        }
599 +                        p++;
600 +                }
601 +
602          }
603   }
604  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines