mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-26 09:41:15 +00:00
fix odd build error
This commit is contained in:
parent
987d8621df
commit
1a87f89e8b
@ -3,8 +3,6 @@
|
|||||||
#include "mxomni.h"
|
#include "mxomni.h"
|
||||||
#include "mxtypes.h"
|
#include "mxtypes.h"
|
||||||
|
|
||||||
#include "math.h"
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x1003e300
|
// OFFSET: LEGO1 0x1003e300
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#include "mxvideopresenter.h"
|
#include "mxvideopresenter.h"
|
||||||
#include "MxVideoManager.h"
|
#include "mxvideomanager.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(MxVideoPresenter, 0x64);
|
DECOMP_SIZE_ASSERT(MxVideoPresenter, 0x64);
|
||||||
DECOMP_SIZE_ASSERT(MxVideoPresenter::AlphaMask, 0xc);
|
DECOMP_SIZE_ASSERT(MxVideoPresenter::AlphaMask, 0xc);
|
||||||
@ -135,7 +135,7 @@ MxVideoPresenter::AlphaMask::AlphaMask(const MxBitmap &p_bitmap)
|
|||||||
for (MxS32 i = 0; i < m_width; i++) {
|
for (MxS32 i = 0; i < m_width; i++) {
|
||||||
if (*t_ptr) {
|
if (*t_ptr) {
|
||||||
// TODO: Second CDQ instruction for abs() should not be there.
|
// TODO: Second CDQ instruction for abs() should not be there.
|
||||||
MxU32 shift = abs(offset) & 7;
|
MxS32 shift = abs(offset) & 7;
|
||||||
m_bitmask[offset / 8] |= (1 << abs(shift));
|
m_bitmask[offset / 8] |= (1 << abs(shift));
|
||||||
}
|
}
|
||||||
t_ptr++;
|
t_ptr++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user