From 556a9689682d407660fb4ddde91c155419dc84f7 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 10 Mar 2025 19:11:14 +0100 Subject: more debugging --- src/unityfs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unityfs.rs') diff --git a/src/unityfs.rs b/src/unityfs.rs index d3eb81f..0f3cab6 100644 --- a/src/unityfs.rs +++ b/src/unityfs.rs @@ -230,11 +230,11 @@ impl Seek for BlocksReader { let block_off = pos - decomp_off; debug!("target is block={i} offset={block_off}"); - self.inner.seek(SeekFrom::Start(comp_off))?; if self.nblock_index == i + 1 { debug!("intra-block seek") } else { debug!("seek comp to {comp_off}"); + self.inner.seek(SeekFrom::Start(comp_off))?; self.nblock_index = i; self.load_next_block()?; } -- cgit v1.2.3-70-g09d2