From 9c764eff3aa2c6ec805940ce13a771ee4ebd06e7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 3 Jul 2014 02:07:26 -0400 Subject: [PATCH] Fix a type-conversion warning in Movie.cpp Fixes a C4800 warning. 'int' : forcing value to bool 'true' or 'false' (performance warning) --- Source/Core/Core/Movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {