mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-01 13:04:42 +00:00
17 lines
312 B
C++
17 lines
312 B
C++
#include "Library/Yaml/ByamlContainerHeader.h"
|
|
|
|
#include <byteswap.h>
|
|
|
|
namespace al {
|
|
s32 ByamlContainerHeader::getType() const {
|
|
return mType;
|
|
}
|
|
|
|
s32 ByamlContainerHeader::getCount(bool isRev) const {
|
|
if (isRev)
|
|
return bswap_32_ignore_last(mType);
|
|
|
|
return (mType >> 8);
|
|
}
|
|
} // namespace al
|