Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use packed attribute in structs in cdvd_config.h #441

Merged
merged 1 commit into from Jun 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/iopcore/common/cdvd_config.h
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));