From a2c0ff739266850357f4ccda04b5f23ac501fba4 Mon Sep 17 00:00:00 2001 From: AltoXorg Date: Mon, 15 Apr 2024 15:23:09 +0800 Subject: include gCurrentFileOffset in the reset --- src/Companion.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Companion.cpp') diff --git a/src/Companion.cpp b/src/Companion.cpp index a350a79..bd8ef32 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -717,6 +717,7 @@ void Companion::Process() { this->gCurrentVram = std::nullopt; this->gCurrentSegmentNumber = 0; this->gCurrentCompressionType = CompressionType::None; + this->gCurrentFileOffset = 0; this->gTables.clear(); this->gCurrentExternalFiles.clear(); GFXDOverride::ClearVtx(); -- cgit v1.2.3