diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-03-10 20:51:55 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-03-10 20:51:55 -0300 |
| commit | 28275a897696a707e222ee14dce20d4b8f65ed58 (patch) | |
| tree | 12e9852ec2212c63e83e5e27b30f12b5ecf73cc7 /Ryujinx.Core/Hid | |
| parent | 3777fb44cf03d05fdedee00f1a19d30fac73b31b (diff) | |
Do not sign-extend timestamps
Diffstat (limited to 'Ryujinx.Core/Hid')
| -rw-r--r-- | Ryujinx.Core/Hid/Hid.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
