Skip to content

Commit

Permalink
Use packed attribute in structs in cdvd_config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jun 18, 2021
1 parent 58c268b commit 13658ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/iopcore/common/cdvd_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ struct cdvdman_settings_common
u32 layer1_start;
u8 DiscID[5];
u8 padding[3];
};
} __attribute__((packed));

struct cdvdman_settings_hdd
{
struct cdvdman_settings_common common;
u32 lba_start;
};
} __attribute__((packed));

struct cdvdman_settings_smb
{
Expand All @@ -41,10 +41,10 @@ struct cdvdman_settings_smb
};
u16 FIDs[ISO_MAX_PARTS];
};
};
} __attribute__((packed));

struct cdvdman_settings_bdm
{
struct cdvdman_settings_common common;
u32 LBAs[ISO_MAX_PARTS];
};
} __attribute__((packed));

0 comments on commit 13658ac

Please sign in to comment.