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:
arcum42 2009-10-08 06:57:20 +00:00
parent 88185fc276
commit 3082fd2003
3 changed files with 3 additions and 3 deletions

View File

@ -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 clear(u32 flags) { _u32 &= ~flags; }
};

View File

@ -389,7 +389,7 @@ union tDMAC_STAT {
};
u32 _u32;
bool test(u32 flags) { return (_u32 & flags); }
bool test(u32 flags) { return !!(_u32 & flags); }
void set(u32 flags) { _u32 |= flags; }
void clear(u32 flags) { _u32 &= ~flags; }
};

View File

@ -104,7 +104,7 @@ union tVIF_STAT {
};
u32 _u32;
bool test(u32 flags) { return (_u32 & flags); }
bool test(u32 flags) { return !!(_u32 & flags); }
void set(u32 flags) { _u32 |= flags; }
void clear(u32 flags) { _u32 &= ~flags; }
};