mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
Update missing sample timestamp in DebugPad (#1873)
This commit is contained in:
parent
73f6149bd6
commit
acf3a3f837
|
@ -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