mirror of https://github.com/PCSX2/pcsx2.git
Get spu2-x working in Linux again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2677 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b840fb9d7c
commit
39a628ab9a
|
@ -23,6 +23,8 @@
|
|||
<Project filename="plugins/zerogs/opengl/Linux/ZeroGS.cbp" />
|
||||
<Project filename="tools/bin2cpp/bin2cpp.cbp" />
|
||||
<Project filename="plugins/spu2-x/src/Linux/SPU2-X.cbp">
|
||||
<Depends filename="common/build/x86emitter/x86emitter.cbp" />
|
||||
<Depends filename="common/build/Utilities/Utilities.cbp" />
|
||||
<Depends filename="3rdparty/SoundTouch/SoundTouch.cbp" />
|
||||
</Project>
|
||||
<Project filename="plugins/zerospu2/Linux/ZeroSPU2.cbp">
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="../../../../bin/plugins/SPU2-X.so" prefix_auto="0" extension_auto="0" />
|
||||
<Option output="../../../../bin/plugins/libspu2-xd.so" prefix_auto="0" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
|
@ -16,19 +16,22 @@
|
|||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="../../../../deps/debug/libsoundtouch-dbg.a" />
|
||||
<Add library="../../../../deps/debug/libUtilities.a" />
|
||||
<Add library="../../../../deps/debug/libx86emitter.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="../../../../bin/plugins/SPU2-X.so" prefix_auto="0" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option output="../../../../bin/plugins/libspu2-x.so" prefix_auto="0" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add library="../../../../deps/libsoundtouch.a" />
|
||||
<Add library="../../../../deps/debug/libUtilities.a" />
|
||||
<Add library="../../../../deps/debug/libx86emitter.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
|
@ -48,6 +51,9 @@
|
|||
<Add directory="../../../../3rdparty/SoundTouch" />
|
||||
<Add directory="../../../../3rdparty" />
|
||||
<Add directory="../../../../common/src/x86emitter" />
|
||||
<Add directory="../../../../common/include/Utilities" />
|
||||
<Add directory="../../../../common/src" />
|
||||
<Add directory="../../../../common/src/Utilities" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="`wx-config --version=2.8 --static=no --unicode=yes --libs`" />
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
#include "Dma.h"
|
||||
#include "Dialogs.h"
|
||||
|
||||
#ifndef __LINUX__
|
||||
#include "x86emitter/tools.h"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include "svnrev.h"
|
||||
|
@ -119,7 +117,6 @@ static bool CheckSSE()
|
|||
cpudetectInit();
|
||||
cpu_detected = true;
|
||||
}
|
||||
|
||||
if( !x86caps.hasStreamingSIMDExtensions || !x86caps.hasStreamingSIMD2Extensions )
|
||||
{
|
||||
SysMessage( "Your CPU does not support SSE2 instructions.\nThe SPU2-X plugin requires SSE2 to run." );
|
||||
|
|
Loading…
Reference in New Issue