1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00

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