mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-04 20:12:03 +00:00
Update missing sample timestamp in DebugPad (#1873)
This commit is contained in:
parent
73f6149bd6
commit
acf3a3f837
2 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||||
DebugPadEntry previousEntry = debugPad.Entries[previousIndex];
|
DebugPadEntry previousEntry = debugPad.Entries[previousIndex];
|
||||||
|
|
||||||
currentEntry.SampleTimestamp = previousEntry.SampleTimestamp + 1;
|
currentEntry.SampleTimestamp = previousEntry.SampleTimestamp + 1;
|
||||||
|
currentEntry.SampleTimestamp2 = previousEntry.SampleTimestamp2 + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -3,6 +3,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||||
unsafe struct DebugPadEntry
|
unsafe struct DebugPadEntry
|
||||||
{
|
{
|
||||||
public ulong SampleTimestamp;
|
public ulong SampleTimestamp;
|
||||||
fixed byte _unknown[0x20];
|
public ulong SampleTimestamp2;
|
||||||
|
fixed byte _unknown[0x18];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue