mirror of https://github.com/PCSX2/pcsx2.git
GSdx: more alignment fixes for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4324 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4388d5d464
commit
b8f1d1e60e
|
@ -24,8 +24,6 @@
|
||||||
#include "GS.h"
|
#include "GS.h"
|
||||||
#include "GSLocalMemory.h"
|
#include "GSLocalMemory.h"
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
|
||||||
|
|
||||||
__aligned(class, 32) GSDrawingContext
|
__aligned(class, 32) GSDrawingContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -121,5 +119,3 @@ public:
|
||||||
return ZBUF.ZMSK == 0 && TEST.ZTE != 0; // ZTE == 0 is bug on the real hardware, write is blocked then
|
return ZBUF.ZMSK == 0 && TEST.ZTE != 0; // ZTE == 0 is bug on the real hardware, write is blocked then
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma pack(pop)
|
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
#include "GS.h"
|
#include "GS.h"
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
|
||||||
|
|
||||||
__aligned(class, 32) GSDrawingEnvironment
|
__aligned(class, 32) GSDrawingEnvironment
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -87,5 +85,3 @@ public:
|
||||||
dimx[6] = dimx[7].xxzzlh();
|
dimx[6] = dimx[7].xxzzlh();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma pack(pop)
|
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
<Add option="-msse2" />
|
<Add option="-msse2" />
|
||||||
<Add option="-m32" />
|
<Add option="-m32" />
|
||||||
<Add option="-mpreferred-stack-boundary=2" />
|
<Add option="-mpreferred-stack-boundary=2" />
|
||||||
|
<Add option="-mfpmath=sse" />
|
||||||
<Add option="-D_LINUX" />
|
<Add option="-D_LINUX" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Linker>
|
<Linker>
|
||||||
|
|
Loading…
Reference in New Issue