diff --git a/plugins/zzogl-pg/opengl/Win32/zerogsogl_2008.vcproj b/plugins/zzogl-pg/opengl/Win32/zerogsogl_2008.vcproj index 6a0aa14ef8..804b473a9a 100644 --- a/plugins/zzogl-pg/opengl/Win32/zerogsogl_2008.vcproj +++ b/plugins/zzogl-pg/opengl/Win32/zerogsogl_2008.vcproj @@ -269,10 +269,6 @@ RelativePath="..\GSmain.cpp" > - - @@ -289,6 +285,10 @@ RelativePath="..\memcpy_amd.cpp" > + + @@ -297,10 +297,6 @@ RelativePath="..\Regs.cpp" > - - @@ -389,20 +385,16 @@ RelativePath=".\aviUtil.h" > - - + + @@ -433,10 +429,6 @@ RelativePath="..\Regs.h" > - - @@ -449,6 +441,10 @@ RelativePath="..\targets.h" > + + diff --git a/plugins/zzogl-pg/opengl/targets.cpp b/plugins/zzogl-pg/opengl/targets.cpp index 4c5b3477af..d391ae1bd2 100644 --- a/plugins/zzogl-pg/opengl/targets.cpp +++ b/plugins/zzogl-pg/opengl/targets.cpp @@ -1664,7 +1664,7 @@ int memcmp_clut16(u16* pSavedBuffer, u16* pClutBuffer, int clutsize) // left > 0 only when csa < 16 int left = 0; - if ((u32)(uptr)pClutBuffer & 2 == 0) + if (((u32)(uptr)pClutBuffer & 2) == 0) { left = (((u32)(uptr)pClutBuffer & 0x3ff) / 2) + clutsize - 512; clutsize -= left;