Files
Aerofoil/PortabilityLayer/ResourceCompiledRef.cpp
Diomendius 1b18a87495 Normalize line endings
This commit contains only the result of `git add --renormalize .`

`git show --ignore-space-change` can verify that this commit only
changes whitespace.
2024-07-31 20:21:47 +12:00

17 lines
270 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;
}
}