Merge pull request #722 from lioncash/casts

Fix a cast warning when compiling with MSVC
This commit is contained in:
shuffle2 2014-08-12 13:45:31 -07:00
commit 4e73dd2d0c

View File

@ -422,7 +422,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
{
js.downcountAmount++;
int test_bit = 8 >> (js.next_inst.BI & 3);
bool condition = js.next_inst.BO & BO_BRANCH_IF_TRUE;
bool condition = !!(js.next_inst.BO & BO_BRANCH_IF_TRUE);
// Test swapping (in the future, will be used to inline across branches the right way)
// if (rand() & 1)