From dc1e09f15c7af37f6f982140cb70c17005e5c981 Mon Sep 17 00:00:00 2001 From: neuromancer Date: Thu, 21 Oct 2021 20:08:35 +0200 Subject: [PATCH] HYPNO: correctly parse complete wetlands missions --- engines/hypno/libfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/hypno/libfile.cpp b/engines/hypno/libfile.cpp index 0d688dd9c8c..326dfb6248f 100644 --- a/engines/hypno/libfile.cpp +++ b/engines/hypno/libfile.cpp @@ -42,9 +42,10 @@ bool LibFile::open(const Common::String &prefix, const Common::String &filename, while (offset < libfile.size()) { byte b; uint32 size = 0; - uint32 start = 0; + uint32 start = libfile.size(); FileEntry f; libfile.seek(offset); + debugC(1, kHypnoDebugParser, "parsing at offset %d", offset); while (true) { f.name = ""; f.data.clear();