Appease the all powerful buildbot.

Visual Studio's struct alignment #pragma is ugly.
This commit is contained in:
Scott Mansell 2013-08-21 00:56:19 +12:00
parent d52e241cdf
commit 71cc490969

View File

@ -15,13 +15,15 @@ namespace EfbInterface
enum { ALP_C, BLU_C, GRN_C, RED_C };
// packed so the compiler doesn't mess with alignment
typedef struct __attribute__ ((packed)) {
#pragma pack(push,1)
typedef struct {
u8 Y;
u8 UV;
} yuv422_packed;
#pragma pack(pop)
// But this one is only used internally, so we can let the compiler pack it however it likes.
typedef struct __attribute__ ((aligned (4))){
// But this struct is only used internally, so we could optimise alignment
typedef struct {
u8 Y;
s8 U;
s8 V;