mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 06:47:58 -05:00
Sources: Run clang-format on everything.
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user