diff options
| author | mageven <62494521+mageven@users.noreply.github.com> | 2021-01-08 00:13:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 19:43:33 +0100 |
| commit | acf3a3f8374df3f9da69846fe8813b78044cb174 (patch) | |
| tree | 292139f08034bd7ab5dd83fdf8cc2f8de072ed0c | |
| parent | 73f6149bd6615fa2447fa09c3209598776fd7e14 (diff) | |
Update missing sample timestamp in DebugPad (#1873)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Hid/HidDevices/DebugPadDevice.cs | 1 | ||||
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/DebugPad/DebugPadEntry.cs | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Hid/HidDevices/DebugPadDevice.cs b/Ryujinx.HLE/HOS/Services/Hid/HidDevices/DebugPadDevice.cs index 77e9205f..7e708e32 100644 --- a/Ryujinx.HLE/HOS/Services/Hid/HidDevices/DebugPadDevice.cs +++ b/Ryujinx.HLE/HOS/Services/Hid/HidDevices/DebugPadDevice.cs @@ -19,6 +19,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid DebugPadEntry previousEntry = debugPad.Entries[previousIndex]; currentEntry.SampleTimestamp = previousEntry.SampleTimestamp + 1; + currentEntry.SampleTimestamp2 = previousEntry.SampleTimestamp2 + 1; } } }
\ No newline at end of file diff --git a/Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/DebugPad/DebugPadEntry.cs b/Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/DebugPad/DebugPadEntry.cs index 4a3e7a2e..3089fc5b 100644 --- a/Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/DebugPad/DebugPadEntry.cs +++ b/Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/DebugPad/DebugPadEntry.cs @@ -3,6 +3,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid unsafe struct DebugPadEntry { public ulong SampleTimestamp; - fixed byte _unknown[0x20]; + public ulong SampleTimestamp2; + fixed byte _unknown[0x18]; } }
\ No newline at end of file |
