The way to Unity, pt.3 (#1681)

This commit is contained in:
Daniel R. 2024-12-08 17:30:33 +01:00 committed by GitHub
parent 1793fd4df0
commit fea2593ab4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 256 additions and 50 deletions

View file

@ -85,6 +85,15 @@ public:
return m_modules.at(index).get();
}
u32 FindByName(const std::filesystem::path& name) const {
for (u32 i = 0; i < m_modules.size(); i++) {
if (name == m_modules[i]->file) {
return i;
}
}
return -1;
}
u32 MaxTlsIndex() const {
return max_tls_index;
}