mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-15 16:18:56 +00:00
The way to Unity, pt.3 (#1681)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user