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

Alignment of header data structures. #66

Open
whocares0101 opened this issue Dec 5, 2021 · 1 comment
Open

Alignment of header data structures. #66

whocares0101 opened this issue Dec 5, 2021 · 1 comment

Comments

@whocares0101
Copy link

I just played around with Delphi and libchdr and had a problem with data alignment as chd_header was 200 with Visual Studio and 196 in Delphi.
Disabling alignment for the data structures in chd.h fixed the problem.
#pragma pack(push, 1)
...
#pragma pack(pop)

@Zero3K
Copy link

Zero3K commented Mar 31, 2022

When will this be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants