mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-10 22:25:28 +00:00
Checked on the ButtonBind struct, should be alright.
This commit is contained in:
parent
c2359680ae
commit
d3dcc117e9
|
@ -3627,11 +3627,11 @@ namespace SDL2
|
||||||
public int hat_mask;
|
public int hat_mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: This has a union in it... does this make sense?
|
/* This struct has a union in it, hence the Explicit layout. */
|
||||||
[StructLayout(LayoutKind.Explicit)]
|
[StructLayout(LayoutKind.Explicit)]
|
||||||
public struct SDL_GameControllerButtonBind
|
public struct SDL_GameControllerButtonBind
|
||||||
{
|
{
|
||||||
// FIXME: enum size?
|
/* Note: enum size is 4 bytes. */
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
public SDL_GameControllerBindType bindType;
|
public SDL_GameControllerBindType bindType;
|
||||||
[FieldOffset(4)]
|
[FieldOffset(4)]
|
||||||
|
|
Loading…
Reference in a new issue