[Pad] Write the device class extended information at its guest size

Co-authored-by: Sekai <140012992+SekaixX@users.noreply.github.com>
This commit is contained in:
ParantezTech 2026-10-08 23:44:40 +03:00
parent c1a0da742f
commit 62bbf51bbc
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ public static class PadExports
// (DualSense). We emulate no special peripheral (guitar/drums/wheel), so
// the class-data union stays zeroed — the guest treats it as a plain
// controller with no extended capabilities.
Span<byte> information = stackalloc byte[0x20];
Span<byte> information = stackalloc byte[0x14];
information.Clear();
BinaryPrimitives.WriteInt32LittleEndian(information[0x00..], 0);