diff --git a/Source/Core/VideoCommon/Src/SConscript b/Source/Core/VideoCommon/Src/SConscript index b1bc0ebef2..6c7212376b 100644 --- a/Source/Core/VideoCommon/Src/SConscript +++ b/Source/Core/VideoCommon/Src/SConscript @@ -30,5 +30,4 @@ files = [ env_common = env.Clone() env_common.Append(CXXFLAGS = [ '-fPIC' ]) -env_common.Append(CXXFLAGS = [ '-mssse3' ]) # For TextureDecoder env_common.StaticLibrary("videocommon", files) diff --git a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp index fa739e81db..057fdddc65 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp @@ -170,6 +170,7 @@ bool RecordingPlayIR(IRReportType &_IR) // Return true if this particual numerical key is pressed bool IsNumericalKeyPressed(int _Key) { +#ifdef _WIN32 // Check which key it is std::string TmpKey = StringFromFormat("%i", _Key); if(GetAsyncKeyState(TmpKey[0])) @@ -177,11 +178,16 @@ bool IsNumericalKeyPressed(int _Key) else // That numerical key is pressed return false; +#else + // TODO linux port + return false; +#endif } // Check if a switch is pressed bool IsSwitchPressed(int _Key) { +#ifdef _WIN32 // Check if that switch is pressed switch (_Key) { @@ -192,6 +198,10 @@ bool IsSwitchPressed(int _Key) // That switch was not pressed return false; +#else + // TODO linux port + return false; +#endif } // Check if we should start the playback of a recording. Once it has been started it can currently