🐛 bug: fix loader using the old broken `parse_int` for instruction count
							parent
							
								
									9bfd3c64c3
								
							
						
					
					
						commit
						64384e7ca5
					
				|  | @ -219,7 +219,7 @@ pub fn parse_block <R: Read> (rdr: &mut R, blocks: &mut Vec <Block>) | |||
| 	parse_byte (rdr).unwrap ();   // is_vararg
 | ||||
| 	parse_byte (rdr).unwrap ();   // maxstacksize, might be same as num slots?
 | ||||
| 	
 | ||||
| 	let inst_count = parse_int (rdr).unwrap (); | ||||
| 	let inst_count = load_size (rdr); | ||||
| 	let mut instructions = Vec::with_capacity (inst_count as usize); | ||||
| 	
 | ||||
| 	for _ in 0..inst_count { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 _
						_