mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add name-to-comment support to GPAs
This commit is contained in:
@@ -20,6 +20,7 @@ namespace PortabilityLayer
|
||||
, m_numResources(0)
|
||||
, m_compiledTypeListBlob(nullptr)
|
||||
, m_numResourceTypes(0)
|
||||
, m_nameListOffset(0)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -343,6 +344,16 @@ namespace PortabilityLayer
|
||||
outCount = m_numResourceTypes;
|
||||
}
|
||||
|
||||
const uint8_t *ResourceFile::GetResNames() const
|
||||
{
|
||||
return m_resNameBlob;
|
||||
}
|
||||
|
||||
const size_t ResourceFile::GetResNamesSize() const
|
||||
{
|
||||
return m_resNameBlobSize;
|
||||
}
|
||||
|
||||
const ResourceCompiledTypeList *ResourceFile::GetResourceTypeList(const ResTypeID &resType)
|
||||
{
|
||||
const ResourceCompiledTypeList *tlStart = m_compiledTypeListBlob;
|
||||
|
Reference in New Issue
Block a user