mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-04 10:26:16 -04:00
remove instance of double endian swapping pContent->0 was already endian swapped (#84)
This commit is contained in:
@@ -321,8 +321,8 @@ void TObject_hermite::prepare_data_(const data::TParse_TParagraph::TData& rData,
|
||||
ASSERT(pContent != NULL);
|
||||
|
||||
#if TARGET_PC
|
||||
u32 u = BE<u32>::swap(pContent->_0 & 0xFFFFFFF);
|
||||
u32 uSize = BE<u32>::swap(pContent->_0 >> 0x1C);
|
||||
u32 u = (pContent->_0 & 0xFFFFFFF);
|
||||
u32 uSize = (pContent->_0 >> 0x1C);
|
||||
endianSwapListData(pContent->_4, u * uSize);
|
||||
fnValue.data_set(pContent->_4, u, uSize);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user