mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Get rid of a few C-style struct declarations
This commit is contained in:
@ -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 };
|
||||
|
||||
|
Reference in New Issue
Block a user