summaryrefslogtreecommitdiff
path: root/src/Companion.cpp
diff options
context:
space:
mode:
authorAltoXorg <atrl101@yahoo.com>2024-04-15 15:23:09 +0800
committerLywx <kiritodev01@gmail.com>2024-04-20 10:25:02 -0600
commita2c0ff739266850357f4ccda04b5f23ac501fba4 (patch)
tree86105f6e9bc75c240243a6caca30c8596cbe677a /src/Companion.cpp
parentfb9a018feb83cd0b9e7e4a1145c6e9e9252ae381 (diff)
include gCurrentFileOffset in the reset
Diffstat (limited to 'src/Companion.cpp')
-rw-r--r--src/Companion.cpp1
1 files changed, 1 insertions, 0 deletions
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();