Skip to content

Commit

Permalink
[Kernel] Static size assert for X_CONTENT_DEVICE_DATA.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbed committed Dec 3, 2018
1 parent aa38d4b commit 947eef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xenia/kernel/xam/xam_content.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ typedef struct {
xe::be<uint64_t> free_bytes;
xe::be<uint16_t> name[28];
} X_CONTENT_DEVICE_DATA;
static_assert_size(X_CONTENT_DEVICE_DATA, 0x50);

dword_result_t XamContentGetDeviceData(
dword_t device_id, pointer_t<X_CONTENT_DEVICE_DATA> device_data) {
Expand Down

0 comments on commit 947eef4

Please sign in to comment.