[Scummvm-git-logs] scummvm master -> 2c1e7d8e4dc1c59b5aa38235c38aed6a0a6d5c63
aquadran
noreply at scummvm.org
Sun Jul 31 09:22:38 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2c1e7d8e4d ICB: Attempt to fix ppc build
Commit: 2c1e7d8e4dc1c59b5aa38235c38aed6a0a6d5c63
https://github.com/scummvm/scummvm/commit/2c1e7d8e4dc1c59b5aa38235c38aed6a0a6d5c63
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2022-07-31T11:22:33+02:00
Commit Message:
ICB: Attempt to fix ppc build
Changed paths:
engines/icb/gfx/rab_api.cpp
diff --git a/engines/icb/gfx/rab_api.cpp b/engines/icb/gfx/rab_api.cpp
index ddad9f2f94f..c115531e947 100644
--- a/engines/icb/gfx/rab_api.cpp
+++ b/engines/icb/gfx/rab_api.cpp
@@ -168,7 +168,7 @@ Bone_Frame *RabAPIObject::GetFrame(RabAPI *rab, const int32 f) {
#ifdef SCUMM_LITTLE_ENDIAN
tempDst[t] = tempSrc[t];
#else
- tempDst[t] = tempSrc[dataSize - t - 1];
+ tempDst[t] = tempSrc[sizeof(CompTriplet) - t - 1];
#endif
}
data += ALL_ANGLES_32_BYTE_SIZE;
@@ -189,7 +189,7 @@ Bone_Frame *RabAPIObject::GetFrame(RabAPI *rab, const int32 f) {
#ifdef SCUMM_LITTLE_ENDIAN
tempDst[t] = tempSrc[t];
#else
- tempDst[t] = tempSrc[dataSize - t - 1];
+ tempDst[t] = tempSrc[sizeof(CompTriplet) - t - 1];
#endif
}
data += NONZERO_ANGLES_32_BYTE_SIZE;
More information about the Scummvm-git-logs
mailing list