mirror of https://github.com/PCSX2/pcsx2.git
Get rid of a few Windows compilation errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1982 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
88185fc276
commit
3082fd2003
|
@ -124,7 +124,7 @@ union tGIF_STAT
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool test(u32 flags) { return (_u32 & flags); }
|
bool test(u32 flags) { return !!(_u32 & flags); }
|
||||||
void set(u32 flags) { _u32 |= flags; }
|
void set(u32 flags) { _u32 |= flags; }
|
||||||
void clear(u32 flags) { _u32 &= ~flags; }
|
void clear(u32 flags) { _u32 &= ~flags; }
|
||||||
};
|
};
|
||||||
|
|
|
@ -389,7 +389,7 @@ union tDMAC_STAT {
|
||||||
};
|
};
|
||||||
u32 _u32;
|
u32 _u32;
|
||||||
|
|
||||||
bool test(u32 flags) { return (_u32 & flags); }
|
bool test(u32 flags) { return !!(_u32 & flags); }
|
||||||
void set(u32 flags) { _u32 |= flags; }
|
void set(u32 flags) { _u32 |= flags; }
|
||||||
void clear(u32 flags) { _u32 &= ~flags; }
|
void clear(u32 flags) { _u32 &= ~flags; }
|
||||||
};
|
};
|
||||||
|
|
|
@ -104,7 +104,7 @@ union tVIF_STAT {
|
||||||
};
|
};
|
||||||
u32 _u32;
|
u32 _u32;
|
||||||
|
|
||||||
bool test(u32 flags) { return (_u32 & flags); }
|
bool test(u32 flags) { return !!(_u32 & flags); }
|
||||||
void set(u32 flags) { _u32 |= flags; }
|
void set(u32 flags) { _u32 |= flags; }
|
||||||
void clear(u32 flags) { _u32 &= ~flags; }
|
void clear(u32 flags) { _u32 &= ~flags; }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue