diff options
| author | Mason Reed <mason@vector35.com> | 2026-02-17 20:11:39 -0800 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-02-23 00:09:44 -0800 |
| commit | b765ffd736ecbfbb7c19b7e166a021ac46a9eeb8 (patch) | |
| tree | 674f5aaa6a8541e29a407511f1db37e07074e436 /typelibrary.cpp | |
| parent | c980b77666bba9e4480c44de72cc8de0ca10c8e4 (diff) | |
[BNTL] Allow decompressing standalone TypeLibrary objects
Previously you must have written the type library to disk
Diffstat (limited to 'typelibrary.cpp')
| -rw-r--r-- | typelibrary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Architecture> 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()); } |
