diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-07-23 20:26:54 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-07-23 20:36:45 -0400 |
| commit | 5767691f4e9260b25f440ef42bb9853aeba89b56 (patch) | |
| tree | 906c95d329bca643f3f35097eaa0692b1084c653 /Source/Core/VideoBackends/Software/EfbInterface.h | |
| parent | e91db62f1be2eeeb3fb3d5f71cfafcfcb98e13a5 (diff) | |
Get rid of a few C-style struct declarations
Diffstat (limited to 'Source/Core/VideoBackends/Software/EfbInterface.h')
| -rw-r--r-- | Source/Core/VideoBackends/Software/EfbInterface.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.h b/Source/Core/VideoBackends/Software/EfbInterface.h index c264713715..d09f71333c 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.h +++ b/Source/Core/VideoBackends/Software/EfbInterface.h @@ -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 }; |
