Fix a cast warning when compiling with MSVC

Would previously give a C4800 warning.
This commit is contained in:
Lioncash 2014-08-02 19:12:55 -04:00
parent 46ce810b45
commit 1b7d933072
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
{ {
js.downcountAmount++; js.downcountAmount++;
int test_bit = 8 >> (js.next_inst.BI & 3); 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) // Test swapping (in the future, will be used to inline across branches the right way)
// if (rand() & 1) // if (rand() & 1)