Show More
@@ -206,7 +206,7 b' class lazyparser(object):' | |||
|
206 | 206 | all = False |
|
207 | 207 | if i == None: |
|
208 | 208 | blockstart = 0 |
|
209 |
blocksize = ( |
|
|
209 | blocksize = (65536 / self.s) * self.s | |
|
210 | 210 | end = self.datasize |
|
211 | 211 | all = True |
|
212 | 212 | else: |
@@ -215,8 +215,8 b' class lazyparser(object):' | |||
|
215 | 215 | end = end * self.s |
|
216 | 216 | blocksize = end - blockstart |
|
217 | 217 | else: |
|
218 |
blockstart = (i & ~ |
|
|
219 |
blocksize = self.s * |
|
|
218 | blockstart = (i & ~1023) * self.s | |
|
219 | blocksize = self.s * 1024 | |
|
220 | 220 | end = blockstart + blocksize |
|
221 | 221 | while blockstart < end: |
|
222 | 222 | self.loadblock(blockstart, blocksize) |
General Comments 0
You need to be logged in to leave comments.
Login now