fix: remove debug print lines

This commit is contained in:
Anna 2022-11-02 22:59:53 -04:00
parent f6f58b6111
commit efc2caefce
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 0 additions and 3 deletions

View File

@ -294,11 +294,9 @@ impl<R: Read> TtmpExtractor<R> {
fn extract_texture_file<T: Read, W: Write>(info: &SqPackFileInfoHeader, mut reader: T, mut writer: W, buf: &mut [u8]) -> Result<()> {
let std_info: SqPackFileInfo = Self::read_struct(&mut reader, buf)?;
println!("{:#?}", std_info);
let blocks: Vec<LodBlock> = (0..std_info.number_of_blocks)
.map(|_| Self::read_struct(&mut reader, buf))
.collect::<Result<_>>()?;
println!("{:#?}", blocks);
let sub_block_count = blocks
.iter()
@ -344,7 +342,6 @@ impl<R: Read> TtmpExtractor<R> {
fn read_block_into<T: Read, W: Write>(mut reader: T, mut writer: W, buf: &mut [u8], size: usize) -> Result<u64> {
let header: DatBlockHeader = Self::read_struct(&mut reader, buf)?;
println!("{:#?}", header);
let (read, actual) = if header.compressed_size == 32_000 {
// uncompressed