mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Lots of stuff
This commit is contained in:
17
PortabilityLayer/ResourceCompiledRef.cpp
Normal file
17
PortabilityLayer/ResourceCompiledRef.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user