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, |
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 |
|
|