ryujinx-mirror/Ryujinx.HLE/HOS
jhorv 49be977588
Eliminate boxing allocations caused by ISampledData structs (#4556)
* 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>
2023-04-05 17:42:32 -03:00
..
Applets Reducing memory allocations (#4537) 2023-03-17 13:14:50 +01:00
Diagnostics/Demangler Minor code formatting (#4498) 2023-03-04 14:43:08 +01:00
Ipc Reducing memory allocations (#4537) 2023-03-17 13:14:50 +01:00
Kernel HLE: Refactoring of ApplicationLoader (#4480) 2023-03-31 21:16:46 +02:00
Services Eliminate boxing allocations caused by ISampledData structs (#4556) 2023-04-05 17:42:32 -03:00
SystemState make UI display correct content in Chinese (#4155) 2022-12-21 17:20:37 -03:00
Tamper Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
ArmProcessContext.cs Make PPTC state non-static (#4157) 2023-01-05 00:01:44 +01:00
ArmProcessContextFactory.cs Initial Apple Hypervisor based CPU emulation (#4332) 2023-01-29 08:37:52 -03:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs HLE: Refactoring of ApplicationLoader (#4480) 2023-03-31 21:16:46 +02:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
LibHacHorizonManager.cs Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
ModLoader.cs HLE: Refactoring of ApplicationLoader (#4480) 2023-03-31 21:16:46 +02:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
TamperMachine.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00