mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
various input class implementations
This commit is contained in:
@@ -138,15 +138,15 @@ FourCC CResLoader::GetResourceTypeById(u32 id)
|
||||
return false;
|
||||
}
|
||||
|
||||
u32 CResLoader::GetResourceIdByName(const char* name) const
|
||||
const SObjectTag* CResLoader::GetResourceIdByName(const char* name) const
|
||||
{
|
||||
for (const std::unique_ptr<CPakFile>& file : x1c_pakLoadedList)
|
||||
{
|
||||
u32 id = file->GetResIdByName(name);
|
||||
const SObjectTag* id = file->GetResIdByName(name);
|
||||
if (id)
|
||||
return id;
|
||||
}
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool CResLoader::AreAllPaksLoaded() const
|
||||
|
||||
Reference in New Issue
Block a user