Get rid of a few C-style struct declarations

This commit is contained in:
Lioncash
2014-07-23 20:26:54 -04:00
parent e91db62f1b
commit 5767691f4e
8 changed files with 23 additions and 21 deletions

View File

@ -12,18 +12,20 @@ namespace EfbInterface
// xfb color format - packed so the compiler doesn't mess with alignment
#pragma pack(push,1)
typedef struct {
struct yuv422_packed
{
u8 Y;
u8 UV;
} yuv422_packed;
};
#pragma pack(pop)
// But this struct is only used internally, so we could optimise alignment
typedef struct {
struct yuv444
{
u8 Y;
s8 U;
s8 V;
} yuv444;
};
enum { ALP_C, BLU_C, GRN_C, RED_C };