summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-07-03 02:07:26 -0400
committerLioncash <mathew1800@gmail.com>2014-07-03 02:07:29 -0400
commit9c764eff3aa2c6ec805940ce13a771ee4ebd06e7 (patch)
tree332dfa862b61556ed6092235446a2591c1304468 /Source/Core
parentab6434f616efa532c9442533cdbc1ff19e9c3793 (diff)
Fix a type-conversion warning in Movie.cpp
Fixes a C4800 warning. 'int' : forcing value to bool 'true' or 'false' (performance warning)
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Movie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/Movie.cpp b/Source/Core/Core/Movie.cpp
index 2d23dca136..bc960ef832 100644
--- a/Source/Core/Core/Movie.cpp
+++ b/Source/Core/Core/Movie.cpp
@@ -368,7 +368,7 @@ bool IsStartingFromClearSave()
bool IsUsingMemcard(int memcard)
{
- return memcards & (1 << memcard);
+ return (memcards & (1 << memcard)) != 0;
}
bool IsSyncGPU()
{