Finished up some errors

Kinda finished extraction
This commit is contained in:
Caleb Gardner
2026-05-13 06:21:01 -05:00
parent 78d1ee2937
commit 700993b0e3
9 changed files with 190 additions and 61 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ const SharedCache = @import("shared_cache.zig");
const DataExtractor = @This();
fil: OffsetFile,
cache: *SharedCache,
// cache: *SharedCache,
decomp: *const Decompressor,
block_size: u32,
@@ -23,10 +23,10 @@ blocks: []BlockSize,
frag_offset: u32 = 0,
frag_entry: ?FragEntry = null,
pub fn init(fil: OffsetFile, cache: *SharedCache, decomp: *const Decompressor, block_size: u32, file_size: u64, data_start: u64, blocks: []BlockSize) DataExtractor {
pub fn init(fil: OffsetFile, decomp: *const Decompressor, block_size: u32, file_size: u64, data_start: u64, blocks: []BlockSize) DataExtractor {
return .{
.fil = fil,
.cache = cache,
// .cache = cache,
.decomp = decomp,
.block_size = block_size,