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

Issue #638: Fixed C# TextureMap field types #707

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SpyderTL
Copy link

@SpyderTL SpyderTL commented Jan 7, 2018

By default, Marshall.PtrToStructure converts char fields to 1 byte characters. Ushort fields are properly converted to 2 byte values.

This should fix Issue #638.

By default, Marshall.PtrToStructure converts char fields to 1 byte characters.  Ushort fields are properly converted to 2 byte values.
@deranen
Copy link

deranen commented Oct 2, 2018

Why hasn't this been merged already?

@BOLL7708
Copy link

BOLL7708 commented Oct 2, 2018

@deranen probably because the file is automatically generated so any changes to it would have to be done somewhere else, not in the actual file.

I bump into parameters and properties being wrong, floats that are doubles, ints that are chars etc. Feels like we could have a separate place just to report things in the C# header 😅

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

Successfully merging this pull request may close these issues.

3 participants