Update missing sample timestamp in DebugPad (#1873)

This commit is contained in:
mageven 2021-01-08 00:13:33 +05:30 committed by GitHub
parent 73f6149bd6
commit acf3a3f837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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;
}
}
}

View File

@ -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];
}
}