mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 17:13:13 -05:00
Merge pull request #7418 from tkcm01/fix/relinker-backup-copy-export-aliases
fix(relinker): allow Windows export aliases when probing backup copies
This commit is contained in:
2 files changed
+22
-4
No files matched your search
@@ -81,7 +81,7 @@ NativeModules ReadModules(const std::filesystem::path& inputPath, const std::fil
|
||||
std::map<std::size_t, std::string> sonames;
|
||||
const auto soname = [&](std::size_t index) -> const std::string& {
|
||||
const auto [found, inserted] = sonames.try_emplace(index);
|
||||
if (inserted) found->second = GuestImageReader().Read(result.Modules[index].Path, result.Modules[index].Bytes).Soname;
|
||||
if (inserted) found->second = GuestImageReader().Read(result.Modules[index].Path, result.Modules[index].Bytes, true).Soname;
|
||||
return found->second;
|
||||
};
|
||||
std::vector<bool> copies(result.Modules.size());
|
||||
|
||||
Reference in new issue
Block a user