From ffcdacc09f09aec9d123e512548b436b37177622 Mon Sep 17 00:00:00 2001 From: Jeffrey Crowell Date: Thu, 12 Mar 2026 21:19:48 -0700 Subject: [PATCH] remove instance of double endian swapping pContent->0 was already endian swapped (#84) --- libs/JSystem/src/JStudio/JStudio/fvb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/JSystem/src/JStudio/JStudio/fvb.cpp b/libs/JSystem/src/JStudio/JStudio/fvb.cpp index 3100901ff1..b8082211c9 100644 --- a/libs/JSystem/src/JStudio/JStudio/fvb.cpp +++ b/libs/JSystem/src/JStudio/JStudio/fvb.cpp @@ -321,8 +321,8 @@ void TObject_hermite::prepare_data_(const data::TParse_TParagraph::TData& rData, ASSERT(pContent != NULL); #if TARGET_PC - u32 u = BE::swap(pContent->_0 & 0xFFFFFFF); - u32 uSize = BE::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