mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
implement/match CalcLocalTransform (#241)
* implement/match CalcLocalTransform * fix odd build error * address feedback move vec.h to thirdparty folder update vec.h move all realtime code to realtime folder move calclocaltransform out of legoutil and into realtime cast shift to MxS32 add additional unroll hack to CalcLocalTransform to prevent msvc entropy
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "mxvideopresenter.h"
|
||||
#include "MxVideoManager.h"
|
||||
#include "mxvideomanager.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxVideoPresenter, 0x64);
|
||||
DECOMP_SIZE_ASSERT(MxVideoPresenter::AlphaMask, 0xc);
|
||||
@@ -136,7 +136,7 @@ seek_to_last_row:
|
||||
if (*t_ptr) {
|
||||
// TODO: Second CDQ instruction for abs() should not be there.
|
||||
MxU32 shift = abs(offset) & 7;
|
||||
m_bitmask[offset / 8] |= (1 << abs(shift));
|
||||
m_bitmask[offset / 8] |= (1 << abs((MxS32)shift));
|
||||
}
|
||||
t_ptr++;
|
||||
offset++;
|
||||
|
Reference in New Issue
Block a user