[Code] Make union usage more consistent
This commit is contained in:
@@ -36,13 +36,13 @@ class UserProfile {
|
||||
INVALID = 0xFF,
|
||||
};
|
||||
union Key {
|
||||
uint32_t value;
|
||||
struct {
|
||||
uint32_t id : 14;
|
||||
uint32_t unk : 2;
|
||||
uint32_t size : 12;
|
||||
uint32_t type : 4;
|
||||
};
|
||||
uint32_t value;
|
||||
};
|
||||
uint32_t setting_id;
|
||||
Type type;
|
||||
|
||||
Reference in New Issue
Block a user