From 28275a897696a707e222ee14dce20d4b8f65ed58 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 10 Mar 2018 20:51:55 -0300 Subject: Do not sign-extend timestamps --- Ryujinx.Core/Hid/Hid.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ryujinx.Core/Hid') diff --git a/Ryujinx.Core/Hid/Hid.cs b/Ryujinx.Core/Hid/Hid.cs index 76ecf5ff..c287564d 100644 --- a/Ryujinx.Core/Hid/Hid.cs +++ b/Ryujinx.Core/Hid/Hid.cs @@ -258,9 +258,9 @@ namespace Ryujinx.Core.Input } } - private long GetTimestamp() + private static long GetTimestamp() { - return Environment.TickCount * 19_200; + return (long)((ulong)Environment.TickCount * 19_200); } } } \ No newline at end of file -- cgit v1.2.3