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

Comparing SheepShaver/src/rom_patches.cpp (file contents):
Revision 1.2 by gbeauche, 2002-04-21T15:07:07Z vs.
Revision 1.3 by gbeauche, 2003-05-14T22:11:59Z

# Line 124 | Line 124 | void decode_parcels(const uint8 *src, ui
124          D(bug("Offset   Type Name\n"));
125          while (parcel_offset != 0) {
126                  const uint32 *parcel_data = (uint32 *)(src + parcel_offset);
127 <                parcel_offset = ntohl(parcel_data[0]);
127 >                uint32 next_offset = ntohl(parcel_data[0]);
128                  uint32 parcel_type = ntohl(parcel_data[1]);
129                  D(bug("%08x %c%c%c%c %s\n", parcel_offset,
130                            (parcel_type >> 24) & 0xff, (parcel_type >> 16) & 0xff,
# Line 134 | Line 134 | void decode_parcels(const uint8 *src, ui
134                          uint32 lzss_size = ((uint32)src + parcel_offset) - ((uint32)parcel_data + lzss_offset);
135                          decode_lzss((uint8 *)parcel_data + lzss_offset, dest, lzss_size);
136                  }
137 +                parcel_offset = next_offset;
138          }
139   }
140  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines