mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-01 21:34:15 +00:00
17 lines
286 B
C++
17 lines
286 B
C++
|
|
#include "ResourceCompiledRef.h"
|
||
|
|
#include "ByteSwap.h"
|
||
|
|
|
||
|
|
#include <string.h>
|
||
|
|
|
||
|
|
namespace PortabilityLayer
|
||
|
|
{
|
||
|
|
uint32_t ResourceCompiledRef::GetSize() const
|
||
|
|
{
|
||
|
|
uint32_t resSize;
|
||
|
|
memcpy(&resSize, m_resData - 4, 4);
|
||
|
|
|
||
|
|
ByteSwap::BigUInt32(resSize);
|
||
|
|
|
||
|
|
return resSize;
|
||
|
|
}
|
||
|
|
}
|