diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2024-03-05 23:09:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-05 23:09:05 -0500 |
| commit | ef690e2ceb7bbc8698cda7e8a4646bb76d13a350 (patch) | |
| tree | c889c4b73692d089feb4f74c851b587a35bace64 | |
| parent | 9fb2f26f1b76e0ce7f2126e8b140448506d0ca07 (diff) | |
support `LUS::Archive::LoadFileRaw` no longer being exposed (#3999)
| m--------- | libultraship | 0 | ||||
| -rw-r--r-- | soh/soh/OTRGlobals.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/libultraship b/libultraship -Subproject d70fd7de2315388c9a99742fd6c634b2cd8be13 +Subproject f79b19a73293c572867eb816377d14c3dbded6e diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 405335738..6d025ab6f 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -872,7 +872,7 @@ OTRVersion ReadPortVersionFromOTR(std::string otrPath) { // Use a temporary archive instance to load the otr and read the version file auto archive = LUS::OtrArchive(otrPath); if (archive.Open()) { - auto t = archive.LoadFileRaw("portVersion"); + auto t = archive.LoadFile("portVersion", std::make_shared<LUS::ResourceInitData>()); if (t != nullptr && t->IsLoaded) { auto stream = std::make_shared<LUS::MemoryStream>(t->Buffer->data(), t->Buffer->size()); auto reader = std::make_shared<LUS::BinaryReader>(stream); |
