mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 01:05:46 +00:00
Sources: Run clang-format on everything.
This commit is contained in:
parent
4298e7ef01
commit
628ed4376a
386 changed files with 19560 additions and 18080 deletions
|
@ -16,7 +16,7 @@ namespace CommandProcessor {
|
|||
union CommandHeader {
|
||||
u32 hex;
|
||||
|
||||
BitField< 0, 16, u32> cmd_id;
|
||||
BitField<0, 16, u32> cmd_id;
|
||||
|
||||
// parameter_mask:
|
||||
// Mask applied to the input value to make it possible to update
|
||||
|
@ -25,11 +25,11 @@ union CommandHeader {
|
|||
// second bit: 0x0000FF00
|
||||
// third bit: 0x00FF0000
|
||||
// fourth bit: 0xFF000000
|
||||
BitField<16, 4, u32> parameter_mask;
|
||||
BitField<16, 4, u32> parameter_mask;
|
||||
|
||||
BitField<20, 11, u32> extra_data_length;
|
||||
|
||||
BitField<31, 1, u32> group_commands;
|
||||
BitField<31, 1, u32> group_commands;
|
||||
};
|
||||
static_assert(std::is_standard_layout<CommandHeader>::value == true,
|
||||
"CommandHeader does not use standard layout");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue