From b765ffd736ecbfbb7c19b7e166a021ac46a9eeb8 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 17 Feb 2026 20:11:39 -0800 Subject: [BNTL] Allow decompressing standalone TypeLibrary objects Previously you must have written the type library to disk --- typelibrary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'typelibrary.cpp') diff --git a/typelibrary.cpp b/typelibrary.cpp index a56c6db3..a2fff4a5 100644 --- a/typelibrary.cpp +++ b/typelibrary.cpp @@ -14,9 +14,9 @@ TypeLibrary::TypeLibrary(Ref arch, const std::string& name) } -bool TypeLibrary::DecompressToFile(const std::string& path, const std::string& output) +bool TypeLibrary::DecompressToFile(const std::string& path) { - return BNTypeLibraryDecompressToFile(path.c_str(), output.c_str()); + return BNTypeLibraryDecompressToFile(m_object, path.c_str()); } -- cgit v1.3.1