2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 10:27:42 +00:00

General: Be explicit about athena's Endian type

Allows this code to still compile if the Endian type is ever changed
into a strong enumeration.
This commit is contained in:
Lioncash
2019-09-14 10:53:08 -04:00
parent 002ca71104
commit 5b7f159233
6 changed files with 10 additions and 10 deletions

View File

@@ -246,7 +246,7 @@ enum BlendFactor : uint16_t {
BL_INVDSTALPHA
};
struct Color : athena::io::DNA<athena::Big> {
struct Color : athena::io::DNA<athena::Endian::Big> {
union {
uint8_t color[4];
uint32_t num = 0;