From 5ad7b002610a33c060ccc6f2412e56524831f175 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Wed, 23 Sep 2009 12:11:37 +0000 Subject: [PATCH] Fix compilation on Linux. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1911 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/GS.h | 2 +- pcsx2/Linux/pcsx2.cbp | 11 ++++------- pcsx2/MTGS.cpp | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/pcsx2/GS.h b/pcsx2/GS.h index 212e83b5a7..740d916217 100644 --- a/pcsx2/GS.h +++ b/pcsx2/GS.h @@ -16,7 +16,7 @@ #pragma once #include "Common.h" -#include "SysThreads.h" +#include "System/SysThreads.h" PCSX2_ALIGNED16( extern u8 g_RealGSMem[Ps2MemSize::GSregs] ); diff --git a/pcsx2/Linux/pcsx2.cbp b/pcsx2/Linux/pcsx2.cbp index 6fdeff429c..73913cf932 100644 --- a/pcsx2/Linux/pcsx2.cbp +++ b/pcsx2/Linux/pcsx2.cbp @@ -242,6 +242,8 @@ + + @@ -362,11 +364,7 @@ - - + @@ -375,8 +373,7 @@ - - + diff --git a/pcsx2/MTGS.cpp b/pcsx2/MTGS.cpp index c4f3039be5..c5dee24273 100644 --- a/pcsx2/MTGS.cpp +++ b/pcsx2/MTGS.cpp @@ -202,7 +202,7 @@ static volatile long gsIsOpened = 0; static void _clean_close_gs( void* obj ) { - int result = InterlockedExchange( &gsIsOpened, 0 ); + int result = _InterlockedExchange( &gsIsOpened, 0 ); if( result && (g_plugins != NULL) ) g_plugins->m_info[PluginId_GS].CommonBindings.Close(); }