diff options
author | jhorv <38920027+jhorv@users.noreply.github.com> | 2023-04-05 16:42:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 17:42:32 -0300 |
commit | 49be977588c358e92eb9d9f5b0a6f49ee52003f4 (patch) | |
tree | 369f4d2ed3dd161d85ccf5f0652b906997ec8041 /Ryujinx.Horizon/Sdk/Sf/Hipc/Header.cs | |
parent | c95be55091eaee446e1ad51ad215b82be5866bb3 (diff) |
Eliminate boxing allocations caused by ISampledData structs (#4556)1.1.699
* Redesign use of ISampledData for accessing the SamplingNumber value on input data structs.
* Always read SamplingNumber as little-endian
* Restored field order for SixAxisSensorState. Rework to allow possibility of non-zero offsets for the SamplingNumber field. Set StructLayout Pack=8 - the KeyboardState struct is 4 bytes shorter with any other value.
* fix spelling
Co-authored-by: riperiperi <rhy3756547@hotmail.com>
* set Pack = 1 for ISampledDataStruct types, added Unknown field to KeyboardState
* extend size of KeyboardModifier
---------
Co-authored-by: riperiperi <rhy3756547@hotmail.com>
Diffstat (limited to 'Ryujinx.Horizon/Sdk/Sf/Hipc/Header.cs')
0 files changed, 0 insertions, 0 deletions